Redesign settings and about layout

This commit is contained in:
Athozus 2023-07-19 22:48:26 +02:00
parent 9990d56004
commit a9a4c8c4dc
No known key found for this signature in database
GPG key ID: B50895022E8484BF
2 changed files with 9 additions and 9 deletions

View file

@ -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)