diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2023-01-18 12:17:58 +0400 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-14 22:01:00 +0100 |
commit | ac19c6c92b676f5544dc9094b26afec29768c056 (patch) | |
tree | 70260034e6ce8fd3b4718a45e41ec11c6450da4f /resources/qml | |
parent | Merge pull request #1366 from Nheko-Reborn/uiTweaks (diff) | |
download | nheko-ac19c6c92b676f5544dc9094b26afec29768c056.tar.xz |
Room list: add scrollbar when not collapsed
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/RoomList.qml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml index 348d104f..d51933f9 100644 --- a/resources/qml/RoomList.qml +++ b/resources/qml/RoomList.qml @@ -60,6 +60,12 @@ Page { model: Rooms reuseItems: true + ScrollBar.vertical: ScrollBar { + id: roomlistscrollbar + active: true + visible: (! collapsed) && (parent.contentHeight > parent.height) + } + ScrollHelper { flickable: parent anchors.fill: parent @@ -258,7 +264,7 @@ Page { } height: avatarSize + 2 * Nheko.paddingMedium - width: ListView.view.width + width: ListView.view.width - roomlistscrollbar.width state: "normal" ToolTip.visible: hovered && collapsed ToolTip.delay: Nheko.tooltipDelay |