summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2022-04-23 18:53:22 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2022-04-23 19:03:01 -0400
commitf9b3690e87b5cf4ae8c940b6f75800b6ab884832 (patch)
treec622bf78551b510792ba388e786d133e1c047362 /resources/qml
parentSet default size for hidden events dialog (diff)
downloadnheko-f9b3690e87b5cf4ae8c940b6f75800b6ab884832.tar.xz
Modifications to member list buttons
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/TimelineView.qml1
-rw-r--r--resources/qml/dialogs/RoomSettings.qml23
2 files changed, 13 insertions, 11 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml

index 00fac563..458a4824 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -209,7 +209,6 @@ Item { MatrixText { text: qsTr("%n member(s)", "", room ? room.roomMemberCount : 0) - cursorShape: Qt.PointingHandCursor } ImageButton { 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