Commit 14ca601b authored by Simonas Leleiva's avatar Simonas Leleiva

Merge pull request #18 from locusf/nemobug_708

[bugfix] Replaced Text elements with Label element. Fixed NEMO#708.
parents 805df3a6 29b65804
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
import QtQuick 2.1 import QtQuick 2.1
import QtQuick.Controls.Nemo 1.0
Item { Item {
id: root id: root
...@@ -58,10 +59,8 @@ Item { ...@@ -58,10 +59,8 @@ Item {
visible: mouse.pressed visible: mouse.pressed
} }
Text { Label {
id: textitem id: textitem
color: "white"
font.pixelSize: 32
text: modelData text: modelData
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.left anchors.left: parent.left
......
...@@ -45,12 +45,11 @@ Item { ...@@ -45,12 +45,11 @@ Item {
} }
} }
Text { Label {
font.pixelSize: 42 font.pixelSize: 42
Behavior on x { NumberAnimation { easing.type: Easing.OutCubic } } Behavior on x { NumberAnimation { easing.type: Easing.OutCubic } }
x: backButton.x + backButton.width + 20 x: backButton.x + backButton.width + 20
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
color: "white"
text: parent.title text: parent.title
} }
} }
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