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 {
id: label
opacity: item.opacity
wrapMode: Text.Wrap
Layout.fillWidth: true
@ -27,6 +28,7 @@ HColumnLayout {
HIcon {
svgName: "field-tooltip-available"
opacity: item.opacity
visible: toolTip.text
Binding on colorize {
@ -61,6 +63,7 @@ HColumnLayout {
HLabel {
id: errorLabel
opacity: item.opacity
visible: Layout.maximumHeight > 0
wrapMode: Text.Wrap
color: theme.colors.errorText