summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/ConfigurationItem.qml
diff options
context:
space:
mode:
authorJuho Annunen <juho.annunen@qt.io>2018-08-20 12:25:40 +0300
committerJuho Annunen <juho.annunen@qt.io>2018-08-29 07:30:00 +0000
commit09aa32dd522176a9b9762e4d85b3e8c66d4d6be2 (patch)
tree06600dddeb2598e2745f21d52aad73b4ea456990 /basicsuite/ebike-ui/ConfigurationItem.qml
parent1ff81b46a37550bb4430cc032b6d5504525af53f (diff)
Fix some major scaling & font issues on ebike-demo
Task-number: QTBUG-69840 Change-Id: If519ae62a0a73c8dbf2f6f7b9f681bdfdb8b28a0 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'basicsuite/ebike-ui/ConfigurationItem.qml')
-rw-r--r--basicsuite/ebike-ui/ConfigurationItem.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/basicsuite/ebike-ui/ConfigurationItem.qml b/basicsuite/ebike-ui/ConfigurationItem.qml
index 350e910..100f13e 100644
--- a/basicsuite/ebike-ui/ConfigurationItem.qml
+++ b/basicsuite/ebike-ui/ConfigurationItem.qml
@@ -42,7 +42,7 @@ Rectangle {
property string description
color: "transparent"
- height: UILayout.configurationItemHeight
+ height: stackLayout.height * 0.25
width: parent.width
Text {
@@ -55,7 +55,7 @@ Rectangle {
font {
family: "Montserrat, Light"
weight: Font.Light
- pixelSize: UILayout.configurationTextSize
+ pixelSize: height * 0.3
}
color: Colors.tabItemColor
verticalAlignment: Text.AlignVCenter