From 2541485881d5435169898c768c51b6afe6a27702 Mon Sep 17 00:00:00 2001 From: marcin Date: Sat, 19 Jul 2014 17:11:16 +0200 Subject: [PATCH] simplified window v3 --- BasicPanel.qml | 5 +++-- bitmonero.pro.user | 2 +- components/PrivacyLevelSmall.qml | 10 +++++----- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/BasicPanel.qml b/BasicPanel.qml index cc3ccba0..8708bd8e 100644 --- a/BasicPanel.qml +++ b/BasicPanel.qml @@ -31,6 +31,7 @@ Rectangle { Grid { anchors.verticalCenter: parent.verticalCenter anchors.right: parent.right + width: 256 columns: 3 Text { @@ -48,7 +49,7 @@ Rectangle { Text { id: balanceText - width: 100 + width: 110 height: 20 font.family: "Arial" font.pixelSize: 18 @@ -86,7 +87,7 @@ Rectangle { Text { id: availableBalanceText - width: 100 + width: 110 height: 20 font.family: "Arial" font.pixelSize: 14 diff --git a/bitmonero.pro.user b/bitmonero.pro.user index 41380f31..ebf5df96 100644 --- a/bitmonero.pro.user +++ b/bitmonero.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/components/PrivacyLevelSmall.qml b/components/PrivacyLevelSmall.qml index 2b4d296e..26ff8ed4 100644 --- a/components/PrivacyLevelSmall.qml +++ b/components/PrivacyLevelSmall.qml @@ -61,7 +61,7 @@ Item { font.letterSpacing: -1 font.bold: true color: "#000000" - x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 5 : 0) - width + x: row.x + (row.positions[0] !== undefined ? row.positions[0].currentX - 3 : 0) - width text: qsTr("LOW") } @@ -72,7 +72,7 @@ Item { font.letterSpacing: -1 font.bold: true color: "#000000" - x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 5 : 0) - width + x: row.x + (row.positions[4] !== undefined ? row.positions[4].currentX - 3 : 0) - width text: qsTr("MEDIUM") } @@ -83,7 +83,7 @@ Item { font.letterSpacing: -1 font.bold: true color: "#000000" - x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 5 : 0) - width + x: row.x + (row.positions[13] !== undefined ? row.positions[13].currentX - 3 : 0) - width text: qsTr("HIGH") } @@ -121,7 +121,7 @@ Item { Row { id: row2 - spacing: ((bar.width - 8) / 2) / 4 + spacing: ((bar.width - 8) / 2.23) / 4 Repeater { model: 4 @@ -141,7 +141,7 @@ Item { Row { id: row1 - spacing: ((bar.width - 8) / 2) / 10 + spacing: ((bar.width - 8) / 2.23) / 10 Repeater { model: 10