mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:17:58 +02:00
Update scrollbar in tree view to match table scrollbar
Used in Running Scripts and Asset Browser dialogs.
This commit is contained in:
parent
b6fcb77d6f
commit
d798e562fc
1 changed files with 4 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
//
|
//
|
||||||
// Table.qml
|
// Tree.qml
|
||||||
//
|
//
|
||||||
// Created by David Rowe on 17 Feb 2016
|
// Created by David Rowe on 17 Feb 2016
|
||||||
// Copyright 2016 High Fidelity, Inc.
|
// Copyright 2016 High Fidelity, Inc.
|
||||||
|
@ -85,27 +85,18 @@ TreeView {
|
||||||
bottomMargin: 3 // ""
|
bottomMargin: 3 // ""
|
||||||
}
|
}
|
||||||
radius: 3
|
radius: 3
|
||||||
color: hifi.colors.tableScrollHandle
|
color: hifi.colors.tableScrollHandleDark
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollBarBackground: Item {
|
scrollBarBackground: Item {
|
||||||
implicitWidth: 10
|
implicitWidth: 9
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors {
|
anchors {
|
||||||
fill: parent
|
fill: parent
|
||||||
margins: -1 // Expand
|
margins: -1 // Expand
|
||||||
}
|
}
|
||||||
color: hifi.colors.baseGrayHighlight
|
color: hifi.colors.tableBackgroundDark
|
||||||
}
|
|
||||||
|
|
||||||
Rectangle {
|
|
||||||
anchors {
|
|
||||||
fill: parent
|
|
||||||
margins: 1 // Shrink
|
|
||||||
}
|
|
||||||
radius: 4
|
|
||||||
color: hifi.colors.tableScrollBackground
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue