Set the height of statedelegates

This commit is contained in:
Tobias Fella
2021-11-16 00:45:42 +01:00
parent 740662e3f0
commit c81ca6f8bb
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ import NeoChat.Dialog 1.0
RowLayout {
id: row
height: label.contentHeight
Kirigami.Avatar {
id: icon
Layout.preferredWidth: Kirigami.Units.iconSizes.small
@@ -36,6 +38,7 @@ RowLayout {
}
Label {
id: label
Layout.alignment: Qt.AlignVCenter
Layout.fillWidth: true
Layout.preferredHeight: icon.height