mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-20 04:15:53 +01:00
keys: dynamic panel height and qrcode is no longer clipped
This commit is contained in:
parent
45781ab4a1
commit
b9c7d8d7b1
@ -150,7 +150,7 @@ Rectangle {
|
||||
}, State {
|
||||
name: "Keys"
|
||||
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 {
|
||||
property bool viewOnly: false
|
||||
id: page
|
||||
property int keysHeight: mainLayout.height + 100 * scaleRatio // Ensure sufficient height for QR code, even in minimum width window case.
|
||||
|
||||
color: "transparent"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user