forked from Public/monero-gui
Dynamic subaddr table height, dont show history table when there is none
This commit is contained in:
committed by
moneromooo-monero
parent
57c0477fc6
commit
5213daad77
@@ -171,6 +171,7 @@ Rectangle {
|
||||
id: header
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 10
|
||||
visible: table.count > 0
|
||||
|
||||
height: 10
|
||||
color: "transparent"
|
||||
@@ -210,8 +211,9 @@ Rectangle {
|
||||
|
||||
Rectangle {
|
||||
id: tableRect
|
||||
property int table_max_height: 240
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 240
|
||||
Layout.preferredHeight: table.contentHeight < table_max_height ? table.contentHeight : table_max_height
|
||||
color: "transparent"
|
||||
|
||||
Scroll {
|
||||
|
||||
Reference in New Issue
Block a user