qml: styling fixes
This commit is contained in:
@@ -44,6 +44,7 @@ ElDialog {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: passwordLayout.width
|
||||
Layout.preferredHeight: notice.height
|
||||
|
||||
InfoTextArea {
|
||||
id: notice
|
||||
text: qsTr("Wallet requires password to unlock")
|
||||
@@ -56,7 +57,6 @@ ElDialog {
|
||||
RowLayout {
|
||||
id: passwordLayout
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.maximumWidth: parent.width * 2/3
|
||||
Label {
|
||||
text: qsTr('Password')
|
||||
visible: wallet_db.needsPassword
|
||||
|
||||
@@ -76,8 +76,6 @@ ElDialog {
|
||||
Layout.topMargin: constants.paddingSmall
|
||||
Layout.bottomMargin: constants.paddingSmall
|
||||
|
||||
// Layout.preferredWidth: qrloader.width
|
||||
// Layout.preferredHeight: qrloader.height
|
||||
Layout.preferredWidth: dialog.width * 7/8
|
||||
Layout.preferredHeight: dialog.width * 7/8
|
||||
|
||||
@@ -189,7 +187,7 @@ ElDialog {
|
||||
GridLayout {
|
||||
columns: 2
|
||||
visible: request.message || !request.amount.isEmpty
|
||||
Layout.maximumWidth: qrloader.width
|
||||
Layout.maximumWidth: buttons.width
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
Label {
|
||||
|
||||
@@ -95,6 +95,7 @@ ElDialog {
|
||||
Label {
|
||||
text: 'Enter a bitcoin address or a Lightning invoice'
|
||||
wrapMode: Text.Wrap
|
||||
Layout.maximumWidth: parent.width
|
||||
}
|
||||
|
||||
TextField {
|
||||
|
||||
Reference in New Issue
Block a user