Provide automatic PaletteValue selection
Bug #1553919 reported by
Zsombor Egri
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu RTM) |
Confirmed
|
Critical
|
Zsombor Egri |
Bug Description
The current way to select a color for a component is pretty error-prone. Developers need to select the proper palette value set for each component depending on the component status (enabled, disabled, selected, focused, highlighted). UITK should provide an easy way to do this on styled components level, preferably through a state-agnostic property or style callback. In this way we could immediately spot palette errors on component level, and we wouldn't need to change all components every time we introduce a new value set.
Related branches
lp://staging/~zsombi/ubuntu-ui-toolkit/colorSelector
On hold
for merging
into
lp://staging/ubuntu-ui-toolkit/staging
- Ubuntu SDK team: Pending requested
-
Diff: 564 lines (+414/-4) (has conflicts)9 files modifieddebian/libubuntutoolkit5-dev.install (+2/-0)
src/Ubuntu/Components/plugin/ucstyleditembase.cpp (+95/-1)
src/Ubuntu/Components/plugin/ucstyleditembase.h (+15/-0)
src/Ubuntu/Components/plugin/ucstyleditembase_p.h (+8/-0)
src/Ubuntu/UbuntuToolkit/UbuntuToolkit.pro (+4/-2)
src/Ubuntu/UbuntuToolkit/propertybinding.cpp (+78/-0)
src/Ubuntu/UbuntuToolkit/propertybinding.h (+207/-0)
tests/unit/plugin_dependency.pri (+4/-0)
tests/unit_x11/tst_subtheming/tst_subtheming.pro (+1/-1)
description: | updated |
Changed in ubuntu-ui-toolkit (Ubuntu RTM): | |
status: | New → Confirmed |
To post a comment you must log in.