summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2022-04-23 18:53:22 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2022-04-28 17:39:08 -0400
commit05e6dd9d0d1e03aa1b1c7f5b8bb039c0a7e12da0 (patch)
tree0256e3ea76f849c97aa450381418b891fbfc92ab /resources
parentSet default size for hidden events dialog (diff)
downloadnheko-05e6dd9d0d1e03aa1b1c7f5b8bb039c0a7e12da0.tar.xz
Modifications to member list buttons
Diffstat (limited to 'resources')
-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 fc5a5ead..a9d48fb9 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