Drawing and interaction
Native Qt
Scroll Bar
Scroll Bar is a native Zui component in the drawing and interaction catalog, with 12 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
list = list_view (1..50).map { |index| { label: "Item \#{index}" } }, height: 280
scroll_bar list, orientation: :vertical, policy: :always_on
API
Component properties
12 component-specific values, plus shared item and layout properties.
targetTarget configuration for Scroll Bar.propertyorientationOrientation configuration for Scroll Bar.propertypolicyPolicy configuration for Scroll Bar.propertypositionPosition configuration for Scroll Bar.propertysizeSize configuration for Scroll Bar.propertyactiveActive configuration for Scroll Bar.propertyinteractiveInteractive configuration for Scroll Bar.propertystep_sizeStep size configuration for Scroll Bar.propertyminimum_sizeMinimum size configuration for Scroll Bar.propertywidthWidth configuration for Scroll Bar.propertyheightHeight configuration for Scroll Bar.propertyvisibleVisible configuration for Scroll Bar.propertyShow 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
inputNative event payload↗
changeNative event payload↗
active_changeNative event payload