Custom skins
Closed this issue · 2 comments
hsdk123 commented
Hi, I was wondering if custom skinning might be possible for the widgets in zui - is this currently doable?
luboslenco commented
It is possible to some degree, but I would not recommend it yet. Theme system needs more work and that may bring breaking changes in the future.
The way it works right now is by passing TTheme structure into the Zui constructor:
var ui = new Zui({ font: myFont, theme: myTheme });
luboslenco commented
Cleaned up the theme structure, should do for now.
https://github.com/armory3d/zui/blob/master/Sources/zui/Themes.hx