summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-10-17 07:52:45 +0200
committerNiels Weber <niels.weber@digia.com>2014-10-17 09:26:36 +0200
commitd98c028b5275eef25785737f0b68efc7a51b11a1 (patch)
treedaf3247e8b1d79f2cfa5359144f879792653ffb4
parent041199c23e9f7bc341a4e17a261da7de8f937653 (diff)
Make button border same color as button itself
Change-Id: I1fc85bed2b0d256d4889f241ab2ba2a88ec08c8a Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r--qml/components/ConferenceSwitcher.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/components/ConferenceSwitcher.qml b/qml/components/ConferenceSwitcher.qml
index 3d02a4a..f2f7292 100644
--- a/qml/components/ConferenceSwitcher.qml
+++ b/qml/components/ConferenceSwitcher.qml
@@ -96,7 +96,7 @@ Rectangle {
background: Rectangle {
border.width: 2
property var backgroundColor: applicationClient.currentConferenceId === id ? Theme.colors.qtgreen : Theme.colors.white
- property var borderColor: applicationClient.currentConferenceId === id ? Qt.lighter(Theme.colors.qtgreen, 1.3) : Theme.colors.qtgreen
+ property var borderColor: Theme.colors.qtgreen
color: control.pressed ? Qt.darker(backgroundColor, 1.1) : backgroundColor
border.color: control.pressed ? Qt.darker(borderColor, 1.3) : borderColor
}