HLabeledItem: base label/icons opacity on item's

This commit is contained in:
miruka 2020-06-03 04:50:19 -04:00
parent 9f51b3c1ca
commit 00ee534150

View File

@ -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