1
0

qml: fix a few leftovers

This commit is contained in:
Sander van Grieken
2023-02-14 15:37:17 +01:00
parent 2378f92a6a
commit 421bd93047
3 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,6 @@ TextHighlightPane {
property int iconStyle: InfoTextArea.IconStyle.Info
property alias textFormat: infotext.textFormat
// borderColor: constants.colorWarning
borderColor: iconStyle == InfoTextArea.IconStyle.Info
? constants.colorInfo
: iconStyle == InfoTextArea.IconStyle.Warn
@@ -38,12 +37,11 @@ TextHighlightPane {
Layout.preferredWidth: constants.iconSizeMedium
Layout.preferredHeight: constants.iconSizeMedium
}
Label {
Label {
id: infotext
Layout.fillWidth: true
width: parent.width
text: invoice.userinfo
wrapMode: Text.Wrap
}
}

View File

@@ -7,7 +7,7 @@ Pane {
padding: constants.paddingSmall
property color backgroundColor: Qt.lighter(Material.background, 1.15)
property color borderColor: null
property color borderColor: 'transparent'
background: Rectangle {
color: backgroundColor

View File

@@ -66,6 +66,7 @@ ApplicationWindow
}
Image {
visible: Daemon.currentWallet
source: '../../icons/wallet.png'
Layout.preferredWidth: constants.iconSizeSmall
Layout.preferredHeight: constants.iconSizeSmall