[ui] SplitView handle: display update

This commit is contained in:
Fabien Castan 2024-09-20 09:14:41 +02:00
parent 2852a4cf19
commit 0037cf5567

View file

@ -13,11 +13,10 @@ SplitView {
Rectangle {
id: handleDisplay
anchors.centerIn: parent
property int handleSize: handleDelegate.hovered ? 3 : 1
property int handleSize: handleDelegate.pressed ? 3 : 1
width: splitView.orientation === Qt.Horizontal ? handleSize : handleDelegate.width
height: splitView.orientation === Qt.Vertical ? handleSize : handleDelegate.height
color: handleDelegate.pressed ? Qt.lighter(palette.highlight, 1.5)
: (handleDelegate.hovered ? palette.highlight : palette.base)
color: handleDelegate.hovered ? palette.highlight : palette.base
}
}
}