Problems with themes
frankystone opened this issue · comments
I have started to make a new theme as an add-on. The first thing i did was to copy the theme from matthiakl to a new folder called minimalistic_theme.wad
below ./widelands/addons/
. Then i have created new window borders and saved them in fsmenu/windows/
and wui/windows/
with the correct name ([top, right, left, bottom].png). But the new
borders are not shown when starting widelands + activate this addon + restart widelands. All windows, also inside a game, use the original window borders.
mathiakl's theme doesn't work either correct: Most of the defined images are not used if this addon is activated.
widelands version: [3cb6de2@master] (Debug)
Started also with a clean config
file, but no luck. The config has a key theme
which points to "templates/default" :
theme="templates/default"
addons="auto_soldiers_cs.wad:false,free_heroes.wad:false,free_heroes_new.wad:false,legacy_ui.wad:true,minimalistic_theme.wad:false"
You also need to select the Theme in the options menu (dropdown "Nutzeroberflächenthema")
Ahhhh, i knew i made a stupid failure.... Thanks.
There are too many options in the meantime imho.
And it looks like some values are hardcoded, e.g. the border width.
Yes, there's still a lot of UI-related stuff that should be moved to Lua in the long run.
The Interface and Window tabs of the options menu were merged recently because the tab row got too wide, so it seems rather cluttered now. Suggestions how to unclutter it without adding more tabs welcome…