aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-10-11 05:09:03 +0100
committerGitHub <noreply@github.com>2018-10-11 05:09:03 +0100
commitb6adb7f09e4375f145c3ddb592527c1dd0b026a2 (patch)
tree8bcda6a12f52b1ec924cd6358a2d8e6a15f92c38 /builtin
parent8fda8c958003c4c49f4eb43612f899b7529d9731 (diff)
downloadminetest-b6adb7f09e4375f145c3ddb592527c1dd0b026a2.tar.gz
minetest-b6adb7f09e4375f145c3ddb592527c1dd0b026a2.tar.bz2
minetest-b6adb7f09e4375f145c3ddb592527c1dd0b026a2.zip
Advanced settings menu: Centre setting edit box (#7778)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/dlg_settings_advanced.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua
index cc8a6d5d0..0f0f20a9f 100644
--- a/builtin/mainmenu/dlg_settings_advanced.lua
+++ b/builtin/mainmenu/dlg_settings_advanced.lua
@@ -704,7 +704,7 @@ local function create_change_setting_formspec(dialogdata)
text = dialogdata.entered_text
end
end
- formspec = formspec .. "field[0.5,4;" .. width .. ",1;te_setting_value;;"
+ formspec = formspec .. "field[0.28,4;" .. width .. ",1;te_setting_value;;"
.. core.formspec_escape(text) .. "]"
end
return formspec