zui docs v0.0.5
GitHub ↗
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.

Ruby
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.property
orientationOrientation configuration for Scroll Indicator.property
positionPosition configuration for Scroll Indicator.property
sizeSize configuration for Scroll Indicator.property
activeActive configuration for Scroll Indicator.property
minimum_sizeMinimum size configuration for Scroll Indicator.property
widthWidth configuration for Scroll Indicator.property
heightHeight configuration for Scroll Indicator.property
visibleVisible configuration for Scroll Indicator.property
Show 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