diff options
author | Juho Annunen <juho.annunen@qt.io> | 2018-08-20 12:25:40 +0300 |
---|---|---|
committer | Juho Annunen <juho.annunen@qt.io> | 2018-08-29 07:30:00 +0000 |
commit | 09aa32dd522176a9b9762e4d85b3e8c66d4d6be2 (patch) | |
tree | 06600dddeb2598e2745f21d52aad73b4ea456990 /basicsuite/ebike-ui/ViewTab.qml | |
parent | 1ff81b46a37550bb4430cc032b6d5504525af53f (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/ViewTab.qml')
-rw-r--r-- | basicsuite/ebike-ui/ViewTab.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basicsuite/ebike-ui/ViewTab.qml b/basicsuite/ebike-ui/ViewTab.qml index 040436a..8670b2a 100644 --- a/basicsuite/ebike-ui/ViewTab.qml +++ b/basicsuite/ebike-ui/ViewTab.qml @@ -50,13 +50,13 @@ Item { anchors.right: parent.right Text { - height: UILayout.configurationItemHeight + height: stackLayout.height * 0.225 width: parent.width text: qsTr("VIEW") font { family: "Montserrat, Medium" weight: Font.Medium - pixelSize: UILayout.configurationTitleSize + pixelSize: height * 0.375 } color: Colors.tabTitleColor verticalAlignment: Text.AlignVCenter @@ -108,8 +108,8 @@ Item { RoundButton { id: resetButton - width: UILayout.unitButtonWidthMargin * 2 + mphText.implicitWidth - height: UILayout.unitButtonHeight + height: parent.height * 0.6 + width: height + mphText.implicitWidth radius: height / 2 anchors { verticalCenter: parent.verticalCenter |