Rounded background

This commit is contained in:
vladest 2017-11-25 10:03:56 +01:00
parent 73a557a8a4
commit 6136a4cea6
2 changed files with 4 additions and 2 deletions

View file

@ -49,6 +49,7 @@ TableView {
fill: parent;
topMargin: tableView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
}
radius: hifi.dimensions.scrollbarHandleWidth/2
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
: hifi.colors.tableScrollBackgroundDark
}
@ -60,8 +61,8 @@ TableView {
implicitWidth: hifi.dimensions.scrollbarHandleWidth
Rectangle {
anchors {
fill: parent
topMargin: 3
fill: parent;
topMargin: 3;
bottomMargin: 3 // ""
leftMargin: 1 // Move it right
rightMargin: -1 // ""

View file

@ -61,6 +61,7 @@ TreeView {
fill: parent;
topMargin: treeView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
}
radius: hifi.dimensions.scrollbarHandleWidth/2
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
: hifi.colors.tableScrollBackgroundDark
}