[ui] Add MScrollBar for better visibility

Always visible if height or width need it, with specific colors for hovered and pressed behaviors.
This commit is contained in:
Aurore LAFAURIE 2024-09-11 17:33:29 +02:00
parent eb3ac6cd50
commit f8d963e0b0
11 changed files with 44 additions and 39 deletions

View file

@ -3,6 +3,7 @@ import QtQuick.Layouts 1.11
import QtQuick.Controls 2.15
import MaterialIcons 2.2
import Utils 1.0
import Controls 1.0
/**
* A component to display and edit the attributes of a Node.
@ -22,7 +23,7 @@ ListView {
spacing: 2
clip: true
ScrollBar.vertical: ScrollBar { id: scrollBar }
ScrollBar.vertical: MScrollBar { id: scrollBar }
delegate: Loader {
active: (object.enabled || object.hasOutputConnections) && (