Task: Create IconLabel component, move icon out of CheckIndicator
Icon shouldn't be part of CheckIndicator component. Icon+Label is a more generic duo than Indicator+Icon. Additionally, our private FocusRect component is inconsistent with its native counterpart, not only in that it doesn't draw focus outline on indicators, but also in that it does not cover an icon part of CheckBox and RadioButton. It is challenging to implement when an icon is part of indicator, and FocusRect is part of contentItem inside Label, thus things should be flipped and swapped a bit.
See also: plasma/breeze!301 (merged)
See also: plasma/breeze#9 (comment 667644)
Variant | Screenshot |
---|---|
icon | |
RTL + icon | |
RTL text-only |