Merge pull request #429 from maplefater/patch-2

fix(FluSplitLayout): solve binding loop on qt 6.6.0
This commit is contained in:
zhuzichu 2024-02-05 20:46:08 +08:00 committed by GitHub
commit c50583d66a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,8 +10,8 @@ SplitView {
property bool isVertical: control.orientation === Qt.Vertical
}
handle: Rectangle {
implicitWidth: 12
implicitHeight: 12
implicitWidth: d.isVertical ? control.width : 12
implicitHeight: d.isVertical ? 12 : control.height
clip: true
color: {
if(SplitHandle.pressed){