Customise scrollbar for extruder selectors

Contributes to issue CURA-8686.
This commit is contained in:
Ghostkeeper 2022-01-20 17:26:49 +01:00
parent 08b8dcfa43
commit 4f82137035
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
4 changed files with 19 additions and 19 deletions

View file

@ -1,4 +1,4 @@
// Copyright (c) 2016 Ultimaker B.V.
// Copyright (c) 2022 Ultimaker B.V.
// Uranium is released under the terms of the LGPLv3 or higher.
import QtQuick 2.7
@ -178,12 +178,12 @@ SettingItem
contentItem: ListView
{
clip: true
implicitHeight: contentHeight
ScrollBar.vertical: UM.ScrollBar {}
clip: true
model: control.popup.visible ? control.delegateModel : null
currentIndex: control.highlightedIndex
ScrollIndicator.vertical: ScrollIndicator { }
}
background: Rectangle