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

View file

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

View file

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