aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-01-07 15:59:14 +0000
committerxiphon <xiphon@protonmail.com>2019-01-10 04:57:57 +0300
commit310679c680251f4ffcd96eb88ef21a0259fbe29d (patch)
treedf25a9c9191e78614cbf4cdbb47378463bc9a790 /pages
parent36eb1f80e1c070f753746519e2c9e4f01784f6c2 (diff)
downloadmonzero-gui-310679c680251f4ffcd96eb88ef21a0259fbe29d.tar.gz
monzero-gui-310679c680251f4ffcd96eb88ef21a0259fbe29d.tar.xz
monzero-gui-310679c680251f4ffcd96eb88ef21a0259fbe29d.zip
QML: fix various warnings
Diffstat (limited to 'pages')
-rw-r--r--pages/Receive.qml2
-rw-r--r--pages/SharedRingDB.qml7
-rw-r--r--pages/settings/Navbar.qml2
3 files changed, 4 insertions, 7 deletions
diff --git a/pages/Receive.qml b/pages/Receive.qml
index 2c840ab4..6b04c45a 100644
--- a/pages/Receive.qml
+++ b/pages/Receive.qml
@@ -97,8 +97,8 @@ Rectangle {
ListView {
id: subaddressListView
+ Layout.fillHeight: true
Layout.fillWidth: true
- anchors.fill: parent
clip: true
boundsBehavior: ListView.StopAtBounds
delegate: Rectangle {
diff --git a/pages/SharedRingDB.qml b/pages/SharedRingDB.qml
index b28b3ac6..2341ce32 100644
--- a/pages/SharedRingDB.qml
+++ b/pages/SharedRingDB.qml
@@ -194,7 +194,6 @@ Rectangle {
StandardButton {
id: loadBlackballFileButton
- anchors.right: parent.right
text: qsTr("Load") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && loadBlackballFileLine.text !== ""
@@ -243,7 +242,6 @@ Rectangle {
StandardButton {
id: unblackballButton
- anchors.right: parent.right
text: qsTr("Mark as unspent") + translationManager.emptyString
small: true
enabled: !!appWindow.currentWallet && validUnsigned(blackballOutputAmountLine.text) && validUnsigned(blackballOutputOffsetLine.text)
@@ -415,9 +413,8 @@ Rectangle {
RowLayout {
id: segregationHeightRow
- anchors.topMargin: 17
- anchors.left: parent.left
- anchors.right: parent.right
+ Layout.topMargin: 17 * scaleRatio
+ Layout.fillWidth: true
LineEdit {
id: segregationHeightLine
diff --git a/pages/settings/Navbar.qml b/pages/settings/Navbar.qml
index 4c1c5d2a..bf24fb0b 100644
--- a/pages/settings/Navbar.qml
+++ b/pages/settings/Navbar.qml
@@ -51,7 +51,7 @@ Rectangle {
GridLayout {
id: grid
- anchors.horizontalCenter: parent.horizontalCenter
+ Layout.alignment: Qt.AlignHCenter
columnSpacing: 0
property string fontColor: "white"
property int fontSize: 13 * scaleRatio