Fix up scrollbars and separators

This commit is contained in:
David Rowe 2020-01-23 11:25:48 +13:00
parent 6c81f597af
commit cfde36c9f5
3 changed files with 9 additions and 14 deletions

View file

@ -127,17 +127,16 @@ Rectangle {
anchors.top: flickView.top; anchors.top: flickView.top;
anchors.right: flickView.right; anchors.right: flickView.right;
anchors.bottom: flickView.bottom; anchors.bottom: flickView.bottom;
anchors.rightMargin: 2 z: 100 // Display over top of separators.
background: Item { background: Item {
implicitWidth: verticalScrollWidth; implicitWidth: verticalScrollWidth;
Rectangle { Rectangle {
color: hifi.colors.darkGray30; color: hifi.colors.baseGrayShadow
radius: 4; radius: 4;
anchors { anchors {
fill: parent; fill: parent;
topMargin: -1; // Finesse size topMargin: 2 // Finess position
bottomMargin: -2;
} }
} }
} }
@ -148,9 +147,7 @@ Rectangle {
color: hifi.colors.white30; color: hifi.colors.white30;
anchors { anchors {
fill: parent; fill: parent;
leftMargin: 2; // Finesse size and position. topMargin: 1; // Finesse position.
topMargin: 1;
bottomMargin: 1;
} }
} }
} }
@ -338,7 +335,6 @@ Rectangle {
anchors.topMargin: 10; anchors.topMargin: 10;
} }
Item { Item {
id: inputDeviceHeader id: inputDeviceHeader
x: margins.paddings; x: margins.paddings;
@ -688,4 +684,5 @@ Rectangle {
anchors.topMargin: 10; anchors.topMargin: 10;
} }
} }
} }

View file

@ -117,15 +117,16 @@ Item {
anchors.top: scrollView.top anchors.top: scrollView.top
anchors.right: scrollView.right anchors.right: scrollView.right
anchors.bottom: scrollView.bottom anchors.bottom: scrollView.bottom
anchors.rightMargin: 2 z: 100 // Display over top of separators.
background: Item { background: Item {
implicitWidth: verticalScrollWidth implicitWidth: verticalScrollWidth
Rectangle { Rectangle {
color: hifi.colors.darkGray30; color: hifi.colors.baseGrayShadow
radius: 4 radius: 4
anchors { anchors {
fill: parent fill: parent
bottomMargin: 1
} }
} }
} }
@ -136,7 +137,6 @@ Item {
color: hifi.colors.white30 color: hifi.colors.white30
anchors { anchors {
fill: parent fill: parent
leftMargin: 1 // Finesse size and position.
topMargin: 1 topMargin: 1
bottomMargin: 1 bottomMargin: 1
} }

View file

@ -97,11 +97,10 @@ Windows.Window {
background: Item { background: Item {
implicitWidth: verticalScrollWidth implicitWidth: verticalScrollWidth
Rectangle { Rectangle {
color: hifi.colors.darkGray30 color: hifi.colors.baseGrayShadow
radius: 4 radius: 4
anchors { anchors {
fill: parent fill: parent
topMargin: -1 // Finesse size
bottomMargin: -2 bottomMargin: -2
} }
} }
@ -113,7 +112,6 @@ Windows.Window {
color: hifi.colors.white30 color: hifi.colors.white30
anchors { anchors {
fill: parent fill: parent
leftMargin: 2 // Finesse size and position.
topMargin: 1 topMargin: 1
bottomMargin: 1 bottomMargin: 1
} }