Checkpoint after cherry-picking from existing PR

This commit is contained in:
Zach Fox 2017-01-12 10:59:28 -08:00
parent 606e0c382d
commit 8e1a70891d
5 changed files with 10 additions and 10 deletions

View file

@ -16,7 +16,6 @@ import "../styles-uit"
Original.CheckBox {
id: checkBox
HifiConstants { id: hifi }
property int colorScheme: hifi.colorSchemes.light
readonly property bool isLightColorScheme: colorScheme == hifi.colorSchemes.light

View file

@ -109,7 +109,7 @@ TableView {
handle: Item {
id: scrollbarHandle
implicitWidth: 6
implicitWidth: 9
Rectangle {
anchors {
fill: parent
@ -124,7 +124,7 @@ TableView {
}
scrollBarBackground: Item {
implicitWidth: 9
implicitWidth: 12
Rectangle {
anchors {
fill: parent

View file

@ -15,7 +15,7 @@ import "../styles-uit"
Item {
property alias text: popupText.text
property real radius: hifi.dimensions.borderRadius
property real popupRadius: hifi.dimensions.borderRadius
visible: false
id: letterbox
anchors.fill: parent
@ -23,13 +23,13 @@ Item {
anchors.fill: parent
color: "black"
opacity: 0.5
radius: radius
radius: popupRadius
}
Rectangle {
width: Math.max(parent.width * 0.75, 400)
height: popupText.contentHeight*1.5
anchors.centerIn: parent
radius: radius
radius: popupRadius
color: "white"
FiraSansSemiBold {
id: popupText

View file

@ -9,7 +9,6 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
import Hifi 1.0 as Hifi
import QtQuick 2.5
import QtGraphicalEffects 1.0
import "../styles-uit"
@ -128,9 +127,10 @@ Row {
start: Qt.point(0, 0)
end: Qt.point(parent.width, 0)
gradient: Gradient {
GradientStop { position: 0.05; color: "#00CFEF" }
GradientStop { position: 0.5; color: "#9450A5" }
GradientStop { position: 0.95; color: "#EA4C5F" }
GradientStop { position: 0.0; color: "#2c8e72" }
GradientStop { position: 0.9; color: "#1fc6a6" }
GradientStop { position: 0.91; color: "#ea4c5f" }
GradientStop { position: 1.0; color: "#ea4c5f" }
}
}
}

View file

@ -425,6 +425,7 @@ Item {
if (selected) {
table.selection.clear(); // for now, no multi-select
table.selection.select(userIndex);
table.positionViewAtRow(userIndex, ListView.Visible);
} else {
table.selection.deselect(userIndex);
}