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