qml: make ConfirmTxDialog flickable if content larger than window (fixes #8446)
This commit is contained in:
committed by
SomberNight
parent
10574bb14d
commit
6d8ace4abe
@@ -35,14 +35,23 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
width: parent.width
|
anchors.fill: parent
|
||||||
height: parent.height
|
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
GridLayout {
|
Flickable {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: constants.paddingLarge
|
Layout.fillHeight: true
|
||||||
Layout.rightMargin: constants.paddingLarge
|
|
||||||
|
leftMargin: constants.paddingLarge
|
||||||
|
rightMargin: constants.paddingLarge
|
||||||
|
|
||||||
|
contentHeight: rootLayout.height
|
||||||
|
clip: true
|
||||||
|
interactive: height < contentHeight
|
||||||
|
|
||||||
|
GridLayout {
|
||||||
|
id: rootLayout
|
||||||
|
width: parent.width
|
||||||
|
|
||||||
columns: 2
|
columns: 2
|
||||||
|
|
||||||
@@ -191,8 +200,7 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Item { Layout.fillHeight: true; Layout.preferredWidth: 1 }
|
|
||||||
|
|
||||||
FlatButton {
|
FlatButton {
|
||||||
id: sendButton
|
id: sendButton
|
||||||
|
|||||||
Reference in New Issue
Block a user