mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:01:18 +02:00
Rounded background
This commit is contained in:
parent
73a557a8a4
commit
6136a4cea6
2 changed files with 4 additions and 2 deletions
|
@ -49,6 +49,7 @@ TableView {
|
||||||
fill: parent;
|
fill: parent;
|
||||||
topMargin: tableView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
|
topMargin: tableView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
|
||||||
}
|
}
|
||||||
|
radius: hifi.dimensions.scrollbarHandleWidth/2
|
||||||
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
|
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
|
||||||
: hifi.colors.tableScrollBackgroundDark
|
: hifi.colors.tableScrollBackgroundDark
|
||||||
}
|
}
|
||||||
|
@ -60,8 +61,8 @@ TableView {
|
||||||
implicitWidth: hifi.dimensions.scrollbarHandleWidth
|
implicitWidth: hifi.dimensions.scrollbarHandleWidth
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors {
|
anchors {
|
||||||
fill: parent
|
fill: parent;
|
||||||
topMargin: 3
|
topMargin: 3;
|
||||||
bottomMargin: 3 // ""
|
bottomMargin: 3 // ""
|
||||||
leftMargin: 1 // Move it right
|
leftMargin: 1 // Move it right
|
||||||
rightMargin: -1 // ""
|
rightMargin: -1 // ""
|
||||||
|
|
|
@ -61,6 +61,7 @@ TreeView {
|
||||||
fill: parent;
|
fill: parent;
|
||||||
topMargin: treeView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
|
topMargin: treeView.headerVisible ? hifi.dimensions.tableHeaderHeight : 0
|
||||||
}
|
}
|
||||||
|
radius: hifi.dimensions.scrollbarHandleWidth/2
|
||||||
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
|
color: isLightColorScheme ? hifi.colors.tableScrollBackgroundLight
|
||||||
: hifi.colors.tableScrollBackgroundDark
|
: hifi.colors.tableScrollBackgroundDark
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue