ScrollableColumn

component fbx.ui.layout.ScrollableColumn

ScrollableColumn is a vertically-scrollable column. It ensures item with active focus is always in the viewport.

ScrollableColumn {
    id: root
}
property focusMargin

Vertical pixel size around edges the focus item tries to avoid.

Defaults to height / 5: items will try to remain in the 60% in the center.

property elements

Note

This property is the default property

List of items to show in the scrollable column.

property highlightMoveDuration

Duration in milliseconds for the animation of the motion of highlight element.

property highlight

Highlight element to show on current focus.

method isUsable(item)
Parameters

item (Item) – Any item parented in the ScrollableColumn

Returns

A boolean

Function the user can override which defines whether an item may be focused or not. ScrollableColumn automatically calls this function when trying to determine where to put focus on.