Browse Source

qml: styling ImportAddressesKeysDialog

master
Sander van Grieken 3 years ago
parent
commit
9d4e00d582
  1. 20
      electrum/gui/qml/components/ImportAddressesKeysDialog.qml

20
electrum/gui/qml/components/ImportAddressesKeysDialog.qml

@ -9,6 +9,10 @@ import "controls"
ElDialog {
id: root
title: Daemon.currentWallet.isWatchOnly
? qsTr('Import additional addresses')
: qsTr('Import additional keys')
property bool valid: false
modal: true
@ -16,12 +20,11 @@ ElDialog {
Overlay.modal: Rectangle {
color: "#aa000000"
}
width: parent.width
height: parent.height
title: Daemon.currentWallet.isWatchOnly
? qsTr('Import additional addresses')
: qsTr('Import additional keys')
padding: 0
function verify(text) {
if (Daemon.currentWallet.isWatchOnly)
@ -38,8 +41,14 @@ ElDialog {
}
ColumnLayout {
width: parent.width
height: parent.height
anchors.fill: parent
spacing: 0
ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
Layout.leftMargin: constants.paddingLarge
Layout.rightMargin: constants.paddingLarge
Label {
text: Daemon.currentWallet.isWatchOnly
@ -94,6 +103,7 @@ ElDialog {
Layout.preferredWidth: 1
Layout.fillHeight: true
}
}
FlatButton {
Layout.fillWidth: true

Loading…
Cancel
Save