diff options
author | sapier <Sapier at GMX dot net> | 2015-01-09 18:01:59 +0100 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2015-01-09 18:46:24 +0100 |
commit | de3888ca09a43371d3ef1fa3ff20e5501044d6ef (patch) | |
tree | 5486fb83392802e18060aa403b4745e80c9873dd /builtin | |
parent | 3c8e3721199ff5b9f7f454e5a6ecf76a87d3a3f9 (diff) | |
download | minetest-de3888ca09a43371d3ef1fa3ff20e5501044d6ef.tar.gz minetest-de3888ca09a43371d3ef1fa3ff20e5501044d6ef.tar.bz2 minetest-de3888ca09a43371d3ef1fa3ff20e5501044d6ef.zip |
Remove automatic consistent formspec size <-> font size (now has to be done manually)
Set builtin formspecs to autoscale in order to get consistent formspec look and feel
Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/mainmenu/init.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/builtin/mainmenu/init.lua b/builtin/mainmenu/init.lua index e58208336..dfaa04d3c 100644 --- a/builtin/mainmenu/init.lua +++ b/builtin/mainmenu/init.lua @@ -139,10 +139,9 @@ local function init_globals() tv_main:add(tab_credits) tv_main:set_global_event_handler(main_event_handler) + tv_main:set_fixed_size(false) - if PLATFORM == "Android" then - tv_main:set_fixed_size(false) - else + if not (PLATFORM == "Android") then tv_main:set_tab(core.setting_get("maintab_LAST")) end ui.set_default("maintab") |