summaryrefslogtreecommitdiffstats
path: root/basicsuite/ebike-ui/ViewTab.qml
diff options
context:
space:
mode:
Diffstat (limited to 'basicsuite/ebike-ui/ViewTab.qml')
-rw-r--r--basicsuite/ebike-ui/ViewTab.qml8
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