summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorRogier <rogier777@gmail.com>2016-01-08 09:29:39 +0100
committerparamat <mat.gregory@virginmedia.com>2016-01-16 13:05:46 +0000
commit487ab593d031bf310bd76b3edfe2ad42c1e248b5 (patch)
treefd80cc60d76dd86cbfbef0177159908da48ca324 /builtin
parent752d8202061b1092daacb1f7056ace4d5aabef01 (diff)
downloadminetest-487ab593d031bf310bd76b3edfe2ad42c1e248b5.tar.gz
minetest-487ab593d031bf310bd76b3edfe2ad42c1e248b5.tar.bz2
minetest-487ab593d031bf310bd76b3edfe2ad42c1e248b5.zip
Fix error message in settings tab overlapping 'save' button
The save button is now fully functional again when an error message is shown. After an invalid value is entered in the settings tab dialog, the GUI label for the error message that is shown was partly overlapping the 'save' button, so that the top half of the button could not be clicked on.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/tab_settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua
index 472becea2..99138a091 100644
--- a/builtin/mainmenu/tab_settings.lua
+++ b/builtin/mainmenu/tab_settings.lua
@@ -445,7 +445,7 @@ local function create_change_setting_formspec(dialogdata)
if dialogdata.error_message then
formspec = formspec .. "tablecolumns[color;text]" ..
"tableoptions[background=#00000000;highlight=#00000000;border=false]" ..
- "table[5,4;5,1;error_message;#FF0000,"
+ "table[5,3.9;5,0.6;error_message;#FF0000,"
.. core.formspec_escape(dialogdata.error_message) .. ";0]"
width = 5
if dialogdata.entered_text then