Browse Source

Use custom scroll bar for settings list

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

Contributes to issue CURA-8686.
Ghostkeeper 3 years ago
parent
commit
70a79c9b5c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      resources/qml/Settings/SettingView.qml

+ 2 - 1
resources/qml/Settings/SettingView.qml

@@ -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
         {