Dynamic subaddr table height, dont show history table when there is none

This commit is contained in:
Sander Ferdinand
2018-03-21 02:39:09 +01:00
committed by moneromooo-monero
parent 57c0477fc6
commit 5213daad77
5 changed files with 28 additions and 15 deletions

View File

@@ -259,6 +259,16 @@ Rectangle {
}
}
GridLayout {
Layout.topMargin: 20
visible: table.count === 0
Label {
fontSize: 16 * scaleRatio
text: qsTr("No history yet...") + translationManager.emptyString
}
}
GridLayout {
id: tableHeader
columns: 1
@@ -274,6 +284,7 @@ Rectangle {
Rectangle {
id: header
Layout.fillWidth: true
visible: table.count > 0
height: 10
color: "transparent"