1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

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)
This commit is contained in:
sapier 2015-01-09 18:01:59 +01:00
parent 3c8e372119
commit de3888ca09
3 changed files with 8 additions and 50 deletions

View file

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