From b6adb7f09e4375f145c3ddb592527c1dd0b026a2 Mon Sep 17 00:00:00 2001 From: Paramat Date: Thu, 11 Oct 2018 05:09:03 +0100 Subject: Advanced settings menu: Centre setting edit box (#7778) --- builtin/mainmenu/dlg_settings_advanced.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/mainmenu') 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 -- cgit v1.2.3