Use custom scroll bar for settings list

This is necessary to get the same design working in Controls 2.

Contributes to issue CURA-8686.
This commit is contained in:
Ghostkeeper 2022-01-17 16:36:46 +01:00
parent 3e4c171603
commit 70a79c9b5c
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -1,4 +1,4 @@
// Copyright (c) 2021 Ultimaker B.V. // Copyright (c) 2022 Ultimaker B.V.
// Cura is released under the terms of the LGPLv3 or higher. // Cura is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7 import QtQuick 2.7
@ -191,6 +191,7 @@ Item
} }
clip: true clip: true
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item. cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
ScrollBar.vertical: UM.ScrollBar {}
model: UM.SettingDefinitionsModel model: UM.SettingDefinitionsModel
{ {