fix(StatusInput): fix layout binding loops warnings

Fixes #17303
This commit is contained in:
Lukáš Tinkl 2025-02-17 12:39:10 +01:00 committed by Anastasiya
parent c887581994
commit 475800b6ef
No known key found for this signature in database
GPG Key ID: 64F1975031D212A3

View File

@ -414,7 +414,6 @@ Item {
height: visible ? contentHeight : 0
elide: Text.ElideRight
text: root.label
font.pixelSize: 15
color: statusBaseInput.enabled ? Theme.palette.directColor1 : Theme.palette.baseColor1
}
@ -423,7 +422,6 @@ Item {
visible: !!root.secondaryLabel
elide: Text.ElideRight
text: root.secondaryLabel
font.pixelSize: 15
height: visible ? contentHeight : 0
color: Theme.palette.baseColor1
}
@ -448,8 +446,8 @@ Item {
objectName: "statusBaseInput"
implicitWidth: parent.width
implicitHeight: internal.inputHeight
Layout.fillWidth: true
Layout.preferredHeight: internal.inputHeight
Layout.alignment: Qt.AlignTop
Layout.topMargin: (topRow.height > 0) ? labelPadding : 0
maximumLength: root.charLimit