mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Room list: add scrollbar when not collapsed
This commit is contained in:
parent
316eb07dbf
commit
ac19c6c92b
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue