Browse Source

qml: fix flickable margins TxDetails and WalletDetails

master
Sander van Grieken 3 years ago
parent
commit
3cb9ded1ca
  1. 13
      electrum/gui/qml/components/TxDetails.qml
  2. 13
      electrum/gui/qml/components/WalletDetails.qml

13
electrum/gui/qml/components/TxDetails.qml

@ -36,16 +36,17 @@ Pane {
Flickable {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.topMargin: constants.paddingLarge
Layout.leftMargin: constants.paddingLarge
Layout.rightMargin: constants.paddingLarge
contentHeight: contentLayout.height
contentHeight: flickableRoot.height
clip: true
interactive: height < contentHeight
Pane {
id: flickableRoot
width: parent.width
padding: constants.paddingLarge
GridLayout {
id: contentLayout
width: parent.width
columns: 2
@ -311,7 +312,7 @@ Pane {
}
}
}
}
}
ButtonContainer {

13
electrum/gui/qml/components/WalletDetails.qml

@ -45,21 +45,23 @@ Pane {
ColumnLayout {
id: rootLayout
width: parent.width
height: parent.height
anchors.fill: parent
spacing: 0
Flickable {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.margins: constants.paddingLarge
contentHeight: flickableLayout.height
contentHeight: flickableRoot.height
clip:true
interactive: height < contentHeight
Pane {
id: flickableRoot
width: parent.width
padding: constants.paddingLarge
ColumnLayout {
id: flickableLayout
width: parent.width
spacing: constants.paddingLarge
@ -459,6 +461,7 @@ Pane {
}
}
}
}
ButtonContainer {
Layout.fillWidth: true

Loading…
Cancel
Save