Drawing and interaction
Native Qt
Scroll Indicator
Scroll Indicator is a native Zui component in the drawing and interaction catalog, with 9 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_indicator list, orientation: :vertical
API
Component properties
9 component-specific values, plus shared item and layout properties.
targetTarget configuration for Scroll Indicator.propertyorientationOrientation configuration for Scroll Indicator.propertypositionPosition configuration for Scroll Indicator.propertysizeSize configuration for Scroll Indicator.propertyactiveActive configuration for Scroll Indicator.propertyminimum_sizeMinimum size configuration for Scroll Indicator.propertywidthWidth configuration for Scroll Indicator.propertyheightHeight configuration for Scroll Indicator.propertyvisibleVisible configuration for Scroll Indicator.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.
↗
active_changeNative event payload