diff --git a/ui/about.lua b/ui/about.lua index c6b3cfa..aa698b6 100644 --- a/ui/about.lua +++ b/ui/about.lua @@ -6,13 +6,13 @@ local FORMNAME = "mail:about" function mail.show_about(name) local formspec = [[ size[10,6;] - tabheader[0.3,1;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;2;false;false] + tabheader[0.3,0.875;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;2;false;false] button[9.35,0;0.75,0.5;back;X] - label[0,0.8;Mail] - label[0,1.2;]] .. S("Provided by mt-mods") .. [[] - label[0,1.6;]] .. S("Version") .. [[ : 1.3.0] - label[0,2.2;]] .. S("Licenses") .. [[ :] - label[0.2,2.6;]] .. S("Expat (code), WTFPL (textures)") .. [[] + label[0,0.7;Mail] + label[0,1.1;]] .. S("Provided by mt-mods") .. [[] + label[0,1.5;]] .. S("Version") .. [[ : 1.3.0] + label[0,2.0;]] .. S("Licenses") .. [[ :] + label[0.2,2.4;]] .. S("Expat (code), WTFPL (textures)") .. [[] label[0,3.2;https://github.com/mt-mods/mail] label[0,3.6;https://content.minetest.net/packages/mt-mods/mail] textarea[0.5,4.8;4,5.5;;]] .. S("Note") .. [[;]] .. diff --git a/ui/settings.lua b/ui/settings.lua index b448156..9224f25 100644 --- a/ui/settings.lua +++ b/ui/settings.lua @@ -18,7 +18,7 @@ function mail.show_settings(name) local formspec = [[ size[10,6;] - tabheader[0.3,1;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;1;false;false] + tabheader[0.3,0.875;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;1;false;false] button[9.35,0;0.75,0.5;back;X] box[0,0.8;3,0.45;]] .. mail.colors.highlighted .. [[] @@ -63,8 +63,8 @@ function mail.show_settings(name) tooltip[sound_notifications;]] .. S("Play a sound when there is a new message") .. [[] tooltip[auto_marking_read;]] .. S("Mark a message as read when opened") .. [[] - button[0,5.5;2.5,0.5;save;]] .. S("Save") .. [[] - button[2.7,5.5;2.5,0.5;reset;]] .. S("Reset") .. [[] + button[0,5.65;2.5,0.5;reset;]] .. S("Reset") .. [[] + button[7.5,5.65;2.5,0.5;save;]] .. S("Save") .. [[] ]] .. mail.theme minetest.show_formspec(name, FORMNAME, formspec)