diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/mainmenu.lua | 4 | ||||
-rw-r--r-- | builtin/modmgr.lua | 2 | ||||
-rw-r--r-- | builtin/modstore.lua | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index f2649443b..ad8b37ee0 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -176,7 +176,7 @@ function update_menu() -- handle errors if gamedata.errormessage ~= nil then - formspec = "size[12,5.2]" .. + formspec = "size[12,5.2,true]" .. "textarea[1,2;10,2;;ERROR: " .. engine.formspec_escape(gamedata.errormessage) .. ";]".. @@ -365,7 +365,7 @@ end function tabbuilder.gettab() local tsize = tabbuilder.tabsizes[tabbuilder.current_tab] or {width=12, height=5.2} - local retval = "size[" .. tsize.width .. "," .. tsize.height .. "]" + local retval = "size[" .. tsize.width .. "," .. tsize.height .. ",true]" if tabbuilder.show_buttons then retval = retval .. tabbuilder.tab_header() diff --git a/builtin/modmgr.lua b/builtin/modmgr.lua index 11434ab3c..eeb65add1 100644 --- a/builtin/modmgr.lua +++ b/builtin/modmgr.lua @@ -422,7 +422,7 @@ function modmgr.dialog_configure_world() local mod = filterlist.get_list(modmgr.modlist)[modmgr.world_config_selected_mod] local retval = - "size[11,6.5]" .. + "size[11,6.5,true]" .. "label[0.5,-0.25;" .. fgettext("World:") .. "]" .. "label[1.75,-0.25;" .. worldspec.name .. "]" diff --git a/builtin/modstore.lua b/builtin/modstore.lua index 43d8d7e29..ef7fd0165 100644 --- a/builtin/modstore.lua +++ b/builtin/modstore.lua @@ -98,7 +98,7 @@ end -- @function [parent=#modstore] getsuccessfuldialog function modstore.getsuccessfuldialog() local retval = "" - retval = retval .. "size[6,2]" + retval = retval .. "size[6,2,true]" if modstore.lastmodentry ~= nil then retval = retval .. "label[0,0.25;" .. fgettext("Successfully installed:") .. "]" retval = retval .. "label[3,0.25;" .. modstore.lastmodentry.moddetails.title .. "]" @@ -152,7 +152,7 @@ end -------------------------------------------------------------------------------- -- @function [parent=#modstore] tabheader function modstore.tabheader(tabname) - local retval = "size[12,10.25]" + local retval = "size[12,10.25,true]" retval = retval .. "tabheader[-0.3,-0.99;modstore_tab;" .. "Unsorted,Search;" .. modstore.nametoindex(tabname) .. ";true;false]" .. |