Browse Source

qml: fix a few leftovers

master
Sander van Grieken 3 years ago
parent
commit
421bd93047
  1. 4
      electrum/gui/qml/components/controls/InfoTextArea.qml
  2. 2
      electrum/gui/qml/components/controls/TextHighlightPane.qml
  3. 1
      electrum/gui/qml/components/main.qml

4
electrum/gui/qml/components/controls/InfoTextArea.qml

@ -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
}
}

2
electrum/gui/qml/components/controls/TextHighlightPane.qml

@ -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

1
electrum/gui/qml/components/main.qml

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

Loading…
Cancel
Save