Advanced settings menu: Centre setting edit box (#7778)
authorParamat <paramat@users.noreply.github.com>
Thu, 11 Oct 2018 04:09:03 +0000 (05:09 +0100)
committerGitHub <noreply@github.com>
Thu, 11 Oct 2018 04:09:03 +0000 (05:09 +0100)
builtin/mainmenu/dlg_settings_advanced.lua

index cc8a6d5d036c070c486b9e3e1896ed57c3c810d9..0f0f20a9fc1f9fd6cb2138c0ec35b923f236a16c 100644 (file)
@@ -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