mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 07:44:22 +08:00
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:
parent
3e4c171603
commit
70a79c9b5c
@ -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.
|
||||
|
||||
import QtQuick 2.7
|
||||
@ -191,6 +191,7 @@ Item
|
||||
}
|
||||
clip: true
|
||||
cacheBuffer: 1000000 // Set a large cache to effectively just cache every list item.
|
||||
ScrollBar.vertical: UM.ScrollBar {}
|
||||
|
||||
model: UM.SettingDefinitionsModel
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user