HLabeledItem: base label/icons opacity on item
's
This commit is contained in:
parent
9f51b3c1ca
commit
00ee534150
|
@ -20,6 +20,7 @@ HColumnLayout {
|
||||||
|
|
||||||
HLabel {
|
HLabel {
|
||||||
id: label
|
id: label
|
||||||
|
opacity: item.opacity
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
@ -27,6 +28,7 @@ HColumnLayout {
|
||||||
|
|
||||||
HIcon {
|
HIcon {
|
||||||
svgName: "field-tooltip-available"
|
svgName: "field-tooltip-available"
|
||||||
|
opacity: item.opacity
|
||||||
visible: toolTip.text
|
visible: toolTip.text
|
||||||
|
|
||||||
Binding on colorize {
|
Binding on colorize {
|
||||||
|
@ -61,6 +63,7 @@ HColumnLayout {
|
||||||
|
|
||||||
HLabel {
|
HLabel {
|
||||||
id: errorLabel
|
id: errorLabel
|
||||||
|
opacity: item.opacity
|
||||||
visible: Layout.maximumHeight > 0
|
visible: Layout.maximumHeight > 0
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
color: theme.colors.errorText
|
color: theme.colors.errorText
|
||||||
|
|
Loading…
Reference in New Issue
Block a user