forked from Public/monero-gui
keys: dynamic panel height and qrcode is no longer clipped
This commit is contained in:
@@ -150,7 +150,7 @@ Rectangle {
|
|||||||
}, State {
|
}, State {
|
||||||
name: "Keys"
|
name: "Keys"
|
||||||
PropertyChanges { target: root; currentView: keysView }
|
PropertyChanges { target: root; currentView: keysView }
|
||||||
PropertyChanges { target: mainFlickable; contentHeight: minHeight + 200 * scaleRatio }
|
PropertyChanges { target: mainFlickable; contentHeight: keysView.keysHeight }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ import "." 1.0
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
property bool viewOnly: false
|
property bool viewOnly: false
|
||||||
id: page
|
id: page
|
||||||
|
property int keysHeight: mainLayout.height + 100 * scaleRatio // Ensure sufficient height for QR code, even in minimum width window case.
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user