mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +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 {
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue