1 files changed, 13 insertions, 10 deletions
diff --git a/resources/qml/dialogs/RoomSettings.qml b/resources/qml/dialogs/RoomSettings.qml
index 110475c7..4a7b24fe 100644
--- a/resources/qml/dialogs/RoomSettings.qml
+++ b/resources/qml/dialogs/RoomSettings.qml
@@ -159,22 +159,25 @@ ApplicationWindow {
}
+ RowLayout {
+ spacing: Nheko.paddingMedium
+ Layout.alignment: Qt.AlignHCenter
+
Label {
text: qsTr("%n member(s)", "", roomSettings.memberCount)
- Layout.alignment: Qt.AlignHCenter
color: Nheko.colors.text
+ }
- TapHandler {
- onSingleTapped: TimelineManager.openRoomMembers(Rooms.getRoomById(roomSettings.roomId))
- }
-
- CursorShape {
- cursorShape: Qt.PointingHandCursor
- anchors.fill: parent
- }
-
+ ImageButton {
+ image: ":/icons/icons/ui/people.svg"
+ hoverEnabled: true
+ ToolTip.visible: hovered
+ ToolTip.text: qsTr("View members of %1").arg(roomSettings.roomName)
+ onClicked: TimelineManager.openRoomMembers(Rooms.getRoomById(roomSettings.roomId))
}
+ }
+
TextArea {
id: roomTopic
property bool cut: implicitHeight > 100
|