You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome to have custom style properties in style sheets for custom widgets.
I often have the problem that I would love custom colors and line thickness for my custom widget drawing.
I would suggest collecting style properties that start with ext- or -ext- (what ever you like) and provide
widgets a way to access them:
The type of the HashMap could be HashMap<String, StyleValueEnum> and the StyleValueEnum (if tuix doesn't already have something like this) could then be used by the widget to check if the contents is a color or size (or whatever types are possible).
The text was updated successfully, but these errors were encountered:
It would be awesome to have custom style properties in style sheets for custom widgets.
I often have the problem that I would love custom colors and line thickness for my custom widget drawing.
I would suggest collecting style properties that start with
ext-
or-ext-
(what ever you like) and providewidgets a way to access them:
The type of the HashMap could be
HashMap<String, StyleValueEnum>
and theStyleValueEnum
(if tuix doesn't already have something like this) could then be used by the widget to check if the contents is a color or size (or whatever types are possible).The text was updated successfully, but these errors were encountered: