armory3d/zui

Custom skins

Closed this issue · 2 comments

Hi, I was wondering if custom skinning might be possible for the widgets in zui - is this currently doable?

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 });

Cleaned up the theme structure, should do for now.
https://github.com/armory3d/zui/blob/master/Sources/zui/Themes.hx