aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-04-25 16:01:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-04-25 16:01:42 -0500
commite81cb7e64090f66e72d942b048b69505e490f5c0 (patch)
treefa64a8cef99390237cc2f525909f044e5fef4093
parent7d9a698732402a9794b8fad88d248c81bc996e7e (diff)
parent99365fadf0ca3fc5c3e49147de9438e26ef2a285 (diff)
downloadmonzero-gui-e81cb7e64090f66e72d942b048b69505e490f5c0.tar.gz
monzero-gui-e81cb7e64090f66e72d942b048b69505e490f5c0.tar.xz
monzero-gui-e81cb7e64090f66e72d942b048b69505e490f5c0.zip
Merge pull request #2081
99365fa Dynamic height for the settings->wallet (xmrdsc)
-rw-r--r--pages/settings/SettingsWallet.qml11
1 files changed, 5 insertions, 6 deletions
diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml
index 1b42ed83..1b2c8463 100644
--- a/pages/settings/SettingsWallet.qml
+++ b/pages/settings/SettingsWallet.qml
@@ -41,7 +41,6 @@ Rectangle {
ColumnLayout {
id: settingsWallet
- property int itemHeight: 60
Layout.fillWidth: true
anchors.left: parent.left
anchors.top: parent.top
@@ -61,7 +60,7 @@ Rectangle {
GridLayout {
Layout.fillWidth: true
- Layout.preferredHeight: settingsWallet.itemHeight
+ Layout.preferredHeight: childrenRect.height
columnSpacing: 0
ColumnLayout {
@@ -117,7 +116,7 @@ Rectangle {
GridLayout {
Layout.fillWidth: true
- Layout.preferredHeight: settingsWallet.itemHeight
+ Layout.preferredHeight: childrenRect.height
columnSpacing: 0
visible: !appWindow.viewOnly
@@ -183,7 +182,7 @@ Rectangle {
GridLayout {
Layout.fillWidth: true
- Layout.preferredHeight: settingsWallet.itemHeight
+ Layout.preferredHeight: childrenRect.height
columnSpacing: 0
ColumnLayout {
@@ -237,7 +236,7 @@ Rectangle {
GridLayout {
visible: appWindow.walletMode >= 2
Layout.fillWidth: true
- Layout.preferredHeight: settingsWallet.itemHeight
+ Layout.preferredHeight: childrenRect.height
columnSpacing: 0
ColumnLayout {
@@ -303,7 +302,7 @@ Rectangle {
GridLayout {
Layout.fillWidth: true
- Layout.preferredHeight: settingsWallet.itemHeight
+ Layout.preferredHeight: childrenRect.height
columnSpacing: 0
ColumnLayout {