Solve width binding loop and messed up height for UpdateNotification
This commit is contained in:
parent
4a20959522
commit
b4d67ffeb4
@ -33,9 +33,8 @@ Rectangle {
|
||||
|
||||
color: Kirigami.Theme.activeTextColor
|
||||
|
||||
width: feedUpdateCountLabel.width + 3 * Kirigami.Units.largeSpacing +
|
||||
indicator.width + (showAbortButton ? abortButton.implicitWidth + Kirigami.Units.largeSpacing : 0)
|
||||
height: indicator.height
|
||||
implicitWidth: feedUpdateCountLabel.implicitWidth + 3 * Kirigami.Units.largeSpacing + indicator.implicitWidth + (showAbortButton ? abortButton.implicitWidth + Kirigami.Units.largeSpacing : 0)
|
||||
implicitHeight: Math.max(Math.max(indicator.implicitHeight, feedUpdateCountLabel.implicitHeight), showAbortButton ? abortButton.implicitHeight + Kirigami.Units.largeSpacing : 0)
|
||||
|
||||
visible: opacity > 0
|
||||
opacity: 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user