diff --git a/ui/settings.lua b/ui/settings.lua index 61b5ba6..d3744a9 100644 --- a/ui/settings.lua +++ b/ui/settings.lua @@ -17,21 +17,21 @@ function mail.show_settings(name) local formspec = [[ size[10,6;] - tabheader[0.3,0.875;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;1;false;false] + tabheader[0,0;optionstab;]] .. S("Settings") .. "," .. S("About") .. [[;1;false;false] button[9.35,0;0.75,0.5;back;X] tablecolumns[text] table[0,0.775;3,4.5;groups;]] .. groups_str .. [[;]] .. group_index .. [[] - box[3.5,0.8;3,0.45;]] .. mail.get_color("highlighted") .. [[] - label[3.7,0.8;]] .. mail.settings_groups[group_index].label .. [[] + box[0,0;3,0.45;]] .. mail.get_color("highlighted") .. [[] + label[0.2,0;]] .. mail.settings_groups[group_index].label .. [[] button[0,5.65;2.5,0.5;reset;]] .. S("Reset") .. [[] button[7.5,5.65;2.5,0.5;save;]] .. S("Save") .. [[] ]] local x = 3.5 - local y = 1 + local y = -0.6 -- put settings in order local ordered_settings = {} for setting, data in pairs(mail.settings) do