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 height: parent.height
width: colLayout.width width: colLayout.width
ColumnLayout { ColumnLayout {
id: colLayout id: colLayout
+1 -1
View File
@@ -176,7 +176,7 @@ Scope {
} }
ActiveWindow { ActiveWindow {
visible: barRoot.useShortenedForm === 0 visible: barRoot.useShortenedForm === 0 && width > 0 && height > 0
Layout.rightMargin: Appearance.rounding.screenRounding Layout.rightMargin: Appearance.rounding.screenRounding
Layout.fillWidth: true Layout.fillWidth: true
bar: barRoot bar: barRoot
@@ -118,6 +118,7 @@ TabButton {
property real implicitWidth: 0 property real implicitWidth: 0
property real implicitHeight: 0 property real implicitHeight: 0
visible: width > 0 && height > 0
Behavior on opacity { Behavior on opacity {
animation: Appearance?.animation.elementMoveFast.colorAnimation.createObject(this) animation: Appearance?.animation.elementMoveFast.colorAnimation.createObject(this)
@@ -13,6 +13,7 @@ Item {
implicitWidth: (reveal || vertical) ? childrenRect.width : 0 implicitWidth: (reveal || vertical) ? childrenRect.width : 0
implicitHeight: (reveal || !vertical) ? childrenRect.height : 0 implicitHeight: (reveal || !vertical) ? childrenRect.height : 0
visible: width > 0 && height > 0
Behavior on implicitWidth { Behavior on implicitWidth {
enabled: !vertical enabled: !vertical
@@ -155,6 +155,7 @@ Button {
width: ripple.implicitWidth width: ripple.implicitWidth
height: ripple.implicitHeight height: ripple.implicitHeight
opacity: 0 opacity: 0
visible: width > 0 && height > 0
property real implicitWidth: 0 property real implicitWidth: 0
property real implicitHeight: 0 property real implicitHeight: 0