Commit 5b1fee8d authored by Chupligin Sergey's avatar Chupligin Sergey

[GlacierRoller] add scaling

parent 9906bc68
...@@ -21,7 +21,7 @@ Item { ...@@ -21,7 +21,7 @@ Item {
id: label id: label
visible: label.text != "" visible: label.text != ""
font.capitalization: Font.AllUppercase font.capitalization: Font.AllUppercase
font.pixelSize: 14 font.pixelSize: size.dp(14)
color: "white" color: "white"
anchors{ anchors{
...@@ -51,19 +51,19 @@ Item { ...@@ -51,19 +51,19 @@ Item {
PathView{ PathView{
id: view id: view
property int itemHeight: 40 property int itemHeight: size.dp(40)
property bool showRow: false property bool showRow: false
interactive: activated interactive: activated
width: parent.width-60 width: parent.width-size.dp(60)
height: 40 height: size.dp(40)
clip: true clip: true
anchors{ anchors{
top: label.top top: label.top
topMargin: 20 topMargin: size.dp(20)
left: label.left left: label.left
leftMargin: 30 leftMargin: size.dp(30)
} }
pathItemCount: height/itemHeight pathItemCount: height/itemHeight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment