mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-29 23:26:24 +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 {
|
}, 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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user