qml: add placeholder text for transaction history and channel list
This commit is contained in:
@@ -82,6 +82,16 @@ Pane {
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator { }
|
||||
|
||||
Label {
|
||||
visible: Daemon.currentWallet.historyModel.rowCount() == 0
|
||||
anchors.centerIn: parent
|
||||
width: listview.width * 4/5
|
||||
font.pixelSize: constants.fontSizeXXLarge
|
||||
color: constants.mutedForeground
|
||||
text: qsTr('No transactions yet in this wallet')
|
||||
wrapMode: Text.Wrap
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
||||
Reference in New Issue
Block a user