mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Dynamic height for the settings->wallet
This commit is contained in:
parent
7d9a698732
commit
99365fadf0
1 changed files with 5 additions and 6 deletions
|
@ -41,7 +41,6 @@ Rectangle {
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: settingsWallet
|
id: settingsWallet
|
||||||
property int itemHeight: 60
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
|
@ -61,7 +60,7 @@ Rectangle {
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: settingsWallet.itemHeight
|
Layout.preferredHeight: childrenRect.height
|
||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
@ -117,7 +116,7 @@ Rectangle {
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: settingsWallet.itemHeight
|
Layout.preferredHeight: childrenRect.height
|
||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
visible: !appWindow.viewOnly
|
visible: !appWindow.viewOnly
|
||||||
|
|
||||||
|
@ -183,7 +182,7 @@ Rectangle {
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: settingsWallet.itemHeight
|
Layout.preferredHeight: childrenRect.height
|
||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
@ -237,7 +236,7 @@ Rectangle {
|
||||||
GridLayout {
|
GridLayout {
|
||||||
visible: appWindow.walletMode >= 2
|
visible: appWindow.walletMode >= 2
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: settingsWallet.itemHeight
|
Layout.preferredHeight: childrenRect.height
|
||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
@ -303,7 +302,7 @@ Rectangle {
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: settingsWallet.itemHeight
|
Layout.preferredHeight: childrenRect.height
|
||||||
columnSpacing: 0
|
columnSpacing: 0
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
|
|
Loading…
Reference in a new issue