diff options
Diffstat (limited to 'src/quickcontrols/basic/TreeViewDelegate.qml')
| -rw-r--r-- | src/quickcontrols/basic/TreeViewDelegate.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quickcontrols/basic/TreeViewDelegate.qml b/src/quickcontrols/basic/TreeViewDelegate.qml index f1cf265467..8197794e4c 100644 --- a/src/quickcontrols/basic/TreeViewDelegate.qml +++ b/src/quickcontrols/basic/TreeViewDelegate.qml @@ -48,6 +48,9 @@ T.TreeViewDelegate { background: Rectangle { implicitHeight: 40 // same as Button.qml + border.color: control.current ? control.palette.highlight : control.palette.windowText + border.width: Qt.styleHints.accessibility.contrastPreference !== Qt.HighContrast ? 0 : + control.current ? 2 : 1 color: control.highlighted ? control.palette.highlight : (control.treeView.alternatingRows && control.row % 2 !== 0 |
