Modifications to member list buttons

pull/1056/head
Loren Burkholder 3 years ago
parent c53b732452
commit f9b3690e87
  1. 1
      resources/qml/TimelineView.qml
  2. 23
      resources/qml/dialogs/RoomSettings.qml

@ -209,7 +209,6 @@ Item {
MatrixText {
text: qsTr("%n member(s)", "", room ? room.roomMemberCount : 0)
cursorShape: Qt.PointingHandCursor
}
ImageButton {

@ -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

Loading…
Cancel
Save