Advanced settings menu: Centre setting edit box (#7778)

This commit is contained in:
Paramat 2018-10-11 05:09:03 +01:00 committed by GitHub
parent 8fda8c9580
commit b6adb7f09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -704,7 +704,7 @@ local function create_change_setting_formspec(dialogdata)
text = dialogdata.entered_text text = dialogdata.entered_text
end end
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) .. "]" .. core.formspec_escape(text) .. "]"
end end
return formspec return formspec