aboutsummaryrefslogtreecommitdiff
path: root/components/ProgressBar.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-24 20:48:19 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commitc001e312410efe8f883bb5163e5554d84126c034 (patch)
treeac37a3679b9e15f2b558ea2438d60c1caf759b41 /components/ProgressBar.qml
parent3f9926487d37e5338ac6490fc81fdcf35caa708d (diff)
downloadmonzero-gui-c001e312410efe8f883bb5163e5554d84126c034.tar.gz
monzero-gui-c001e312410efe8f883bb5163e5554d84126c034.tar.xz
monzero-gui-c001e312410efe8f883bb5163e5554d84126c034.zip
Fixes runtime QML warning
Diffstat (limited to 'components/ProgressBar.qml')
-rw-r--r--components/ProgressBar.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/ProgressBar.qml b/components/ProgressBar.qml
index f9bb315f..6e691d6e 100644
--- a/components/ProgressBar.qml
+++ b/components/ProgressBar.qml
@@ -52,6 +52,7 @@ Rectangle {
}
Item {
+ anchors.top: item.top
anchors.topMargin: 10 * scaleRatio
anchors.leftMargin: 15 * scaleRatio
anchors.rightMargin: 15 * scaleRatio
@@ -59,7 +60,7 @@ Rectangle {
Text {
id: progressText
- anchors.top: item.top
+ anchors.top: parent.top
anchors.topMargin: 6
font.family: Style.fontMedium.name
font.pixelSize: 13 * scaleRatio
@@ -71,7 +72,7 @@ Rectangle {
Text {
id: progressTextValue
- anchors.top: item.top
+ anchors.top: parent.top
anchors.topMargin: 6
anchors.right: parent.right
font.family: Style.fontMedium.name