mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8690 from mike0609king/issue5536
fix(ActivityList): attach vertical scrollbar, having minimum width and thumbsize, to the right of the traymenu
This commit is contained in:
commit
8a15d95296
@ -29,10 +29,17 @@ ScrollView {
|
||||
signal activityItemClicked(int index)
|
||||
|
||||
contentWidth: availableWidth
|
||||
padding: 0
|
||||
leftPadding: 0
|
||||
topPadding: 0
|
||||
bottomPadding: 0
|
||||
rightPadding: ScrollBar.vertical.width
|
||||
|
||||
focus: false
|
||||
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
ScrollBar.vertical.width: Math.max(ScrollBar.vertical.implicitWidth, Style.minimumScrollBarWidth)
|
||||
ScrollBar.vertical.minimumSize: Style.minimumScrollBarThumbSize
|
||||
|
||||
data: NC.WheelHandler {
|
||||
target: controlRoot.contentItem
|
||||
|
||||
@ -70,6 +70,8 @@ QtObject {
|
||||
|
||||
property int minActivityHeight: variableSize(32)
|
||||
|
||||
property int minimumScrollBarWidth: 12
|
||||
property real minimumScrollBarThumbSize: 0
|
||||
property int currentAccountButtonWidth: 220
|
||||
property int currentAccountButtonRadius: 2
|
||||
property int currentAccountLabelWidth: 128
|
||||
|
||||
Loading…
Reference in New Issue
Block a user