Pull out visual changess & move them to other PR

This commit is contained in:
Zach Fox 2017-01-12 11:18:43 -08:00
parent b0b6aeac6c
commit a9226e303c
4 changed files with 8 additions and 8 deletions

View file

@ -16,6 +16,7 @@ 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

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

View file

@ -9,6 +9,7 @@
// 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 QtQuick.Controls 1.4
import QtQuick.Controls.Styles 1.4
@ -135,10 +136,9 @@ Row {
start: Qt.point(0, 0)
end: Qt.point(parent.width, 0)
gradient: Gradient {
GradientStop { position: 0.0; color: "#2c8e72" }
GradientStop { position: 0.9; color: "#1fc6a6" }
GradientStop { position: 0.91; color: "#ea4c5f" }
GradientStop { position: 1.0; color: "#ea4c5f" }
GradientStop { position: 0.05; color: "#00CFEF" }
GradientStop { position: 0.5; color: "#9450A5" }
GradientStop { position: 0.95; color: "#EA4C5F" }
}
}
}

View file

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