Skip to main content

ScrollBar

Overview

Shows a scrollbar in a scrollable area. In a long list, for example, it tells you visually where you are.

Properties

PropertyDescriptionValueDefault
controllerConnects the scroll controller that the scrollbar tracks. If this controller is missing — or the inherited default controller, when you leave this unset — or if it has more than one scroll position, no scrollbar appears.ControllerNot set
thumbVisibilitySets whether the thumb is always visible.On/OffNot set
trackVisibilitySets whether the scroll track, the groove behind the thumb, is visible.On/OffNot set
thicknessSets the thickness of the thumb.NumberNot set
radiusEllipticalApplies the thumb's corner radius as an elliptical radius with equal horizontal and vertical values.Number0.0
interactiveSets whether you can scroll by dragging the thumb directly.On/OffNot set
scrollbarOrientationSets which edge the scrollbar appears on.left, right, top, bottomNot set