Community
Participate
Working Groups
In order to apply a completely different styling to widgets of a custom variant or a certain style, it is necessary to include also sub-widgets in this custom styling. For example: Shell.special { ... } Shell-Titlebar.special { ... } ProgressBar[VERTICAL] { ... } ProgressBar-Indicator[VERTICAL] { ... } Currently, some sub-widgets silently inherit the styles and custom variants from their parent widget, others don't. To be consistent, we should agree on a general policy. Styles and custom variants can only be applied to widgets, thus there is no chance of collisions. We cannot do the same thing for states, because sub-widgets have states of their own. Since there are frequent use cases for this feature I would suggest to implement and document this policy: Styles and custom variants are inherited by sub-widgets, states are not.