From 5755addc8aeb3dbf1292c986dbf67bf65a9933bc Mon Sep 17 00:00:00 2001 From: Warmist Date: Thu, 29 Nov 2012 10:57:40 +0200 Subject: [PATCH] Revert "Added minimal width specification to label text tokens." This reverts commit 8081ab8f51665d04a56dc08680f4ddabc4925453. --- Lua API.rst | 4 ---- library/lua/gui/widgets.lua | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Lua API.rst b/Lua API.rst index dd2ea3c8a..126bc7f9d 100644 --- a/Lua API.rst +++ b/Lua API.rst @@ -2736,11 +2736,7 @@ containing newlines, or a table with the following possible fields: * ``token.id`` Specifies a unique identifier for the token. - -* ``token.minw`` - Specifies minimal token width - * ``token.line``, ``token.x1``, ``token.x2`` Reserved for internal use. diff --git a/library/lua/gui/widgets.lua b/library/lua/gui/widgets.lua index c00c7254c..ad408a2ea 100644 --- a/library/lua/gui/widgets.lua +++ b/library/lua/gui/widgets.lua @@ -282,10 +282,7 @@ function render_text(obj,dc,x0,y0,pen,dpen,disabled) end end end - if token.minw and x