mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
refactor: introduce minimumScrollBarWidth and minimumScrollBarThumbSize as part of the style
Signed-off-by: Baris <basar.baris1209@gmail.com>
This commit is contained in:
parent
e596b26c70
commit
e1fc7e88fc
@ -38,8 +38,8 @@ ScrollView {
|
||||
|
||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
||||
ScrollBar.vertical.width: Math.max(ScrollBar.vertical.implicitWidth, controlRoot.width * 0.03)
|
||||
ScrollBar.vertical.minimumSize: 0.05
|
||||
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