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