diff --git a/src/qml/Base/HTileDelegate.qml b/src/qml/Base/HTileDelegate.qml index e2a6a7fd..53cb5c00 100644 --- a/src/qml/Base/HTileDelegate.qml +++ b/src/qml/Base/HTileDelegate.qml @@ -40,6 +40,7 @@ HButton { HRowLayout { id: additionalInfo + visible: visibleChildren.length > 0 } HLabel { @@ -48,7 +49,7 @@ HButton { visible: Layout.maximumWidth > 0 Layout.maximumWidth: - text && tile.width >= 200 ? implicitWidth : 0 + text && tile.width >= 160 ? implicitWidth : 0 Behavior on Layout.maximumWidth { HNumberAnimation {} } } diff --git a/src/qml/SidePane/RoomDelegate.qml b/src/qml/SidePane/RoomDelegate.qml index 0b905fcb..4b32cf37 100644 --- a/src/qml/SidePane/RoomDelegate.qml +++ b/src/qml/SidePane/RoomDelegate.qml @@ -44,7 +44,7 @@ HTileDelegate { svgName: "invite-received" colorize: theme.colors.alertBackground - visible: Layout.maximumWidth > 0 + visible: invited Layout.maximumWidth: invited ? implicitWidth : 0 Behavior on Layout.maximumWidth { HNumberAnimation {} }