make 0-size warnings stfu

This commit is contained in:
end-4
2025-06-09 09:20:51 +02:00
parent 2663c46b7e
commit 08e46c5af8
5 changed files with 4 additions and 2 deletions
@@ -12,7 +12,6 @@ Item {
height: parent.height
width: colLayout.width
ColumnLayout {
id: colLayout
+1 -1
View File
@@ -176,7 +176,7 @@ Scope {
}
ActiveWindow {
visible: barRoot.useShortenedForm === 0
visible: barRoot.useShortenedForm === 0 && width > 0 && height > 0
Layout.rightMargin: Appearance.rounding.screenRounding
Layout.fillWidth: true
bar: barRoot
@@ -118,6 +118,7 @@ TabButton {
property real implicitWidth: 0
property real implicitHeight: 0
visible: width > 0 && height > 0
Behavior on opacity {
animation: Appearance?.animation.elementMoveFast.colorAnimation.createObject(this)
@@ -13,6 +13,7 @@ Item {
implicitWidth: (reveal || vertical) ? childrenRect.width : 0
implicitHeight: (reveal || !vertical) ? childrenRect.height : 0
visible: width > 0 && height > 0
Behavior on implicitWidth {
enabled: !vertical
@@ -155,6 +155,7 @@ Button {
width: ripple.implicitWidth
height: ripple.implicitHeight
opacity: 0
visible: width > 0 && height > 0
property real implicitWidth: 0
property real implicitHeight: 0