fix(FluSplitLayout): solve binding loop on qt 6.6.0

This commit is contained in:
maplefater 2024-02-05 11:29:52 +08:00 committed by GitHub
parent 93f73b034d
commit dbe70f8212
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){