From c655984849d69e83f0221ff9fbf6ce3782be873f Mon Sep 17 00:00:00 2001 From: ezhh Date: Fri, 17 Nov 2017 21:45:39 +0000 Subject: Mainmenu: Improve button alignment --- builtin/mainmenu/tab_local.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'builtin/mainmenu/tab_local.lua') diff --git a/builtin/mainmenu/tab_local.lua b/builtin/mainmenu/tab_local.lua index 3e62078ce..6759893ce 100644 --- a/builtin/mainmenu/tab_local.lua +++ b/builtin/mainmenu/tab_local.lua @@ -93,9 +93,9 @@ local function get_formspec(tabview, name, tabdata) ) retval = retval .. - "button[4,4.15;2.6,0.5;world_delete;".. fgettext("Delete") .. "]" .. - "button[6.5,4.15;2.8,0.5;world_create;".. fgettext("New") .. "]" .. - "button[9.2,4.15;2.55,0.5;world_configure;".. fgettext("Configure") .. "]" .. + "button[4,3.95;2.6,1;world_delete;".. fgettext("Delete") .. "]" .. + "button[6.5,3.95.15;2.8,1;world_create;".. fgettext("New") .. "]" .. + "button[9.2,3.95;2.5,1;world_configure;".. fgettext("Configure") .. "]" .. "label[4,-0.25;".. fgettext("Select World:") .. "]".. "checkbox[0.25,0.25;cb_creative_mode;".. fgettext("Creative Mode") .. ";" .. dump(core.settings:get_bool("creative_mode")) .. "]".. @@ -109,7 +109,7 @@ local function get_formspec(tabview, name, tabdata) if core.settings:get_bool("enable_server") then retval = retval .. - "button[8.5,5;3.25,0.5;play;".. fgettext("Host Game") .. "]" .. + "button[8.5,4.8;3.2,1;play;".. fgettext("Host Game") .. "]" .. "checkbox[0.25,1.6;cb_server_announce;" .. fgettext("Announce Server") .. ";" .. dump(core.settings:get_bool("server_announce")) .. "]" .. "label[0.25,2.2;" .. fgettext("Name/Password") .. "]" .. @@ -131,7 +131,7 @@ local function get_formspec(tabview, name, tabdata) end else retval = retval .. - "button[8.5,5;3.25,0.5;play;".. fgettext("Play Game") .. "]" + "button[8.5,4.8;3.2,1;play;".. fgettext("Play Game") .. "]" end return retval -- cgit v1.2.3