mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] SplitView handle: display update
This commit is contained in:
parent
2852a4cf19
commit
0037cf5567
1 changed files with 2 additions and 3 deletions
|
@ -13,11 +13,10 @@ SplitView {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: handleDisplay
|
id: handleDisplay
|
||||||
anchors.centerIn: parent
|
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
|
width: splitView.orientation === Qt.Horizontal ? handleSize : handleDelegate.width
|
||||||
height: splitView.orientation === Qt.Vertical ? handleSize : handleDelegate.height
|
height: splitView.orientation === Qt.Vertical ? handleSize : handleDelegate.height
|
||||||
color: handleDelegate.pressed ? Qt.lighter(palette.highlight, 1.5)
|
color: handleDelegate.hovered ? palette.highlight : palette.base
|
||||||
: (handleDelegate.hovered ? palette.highlight : palette.base)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue