FabGL
ESP32 Display Controller and Graphics Library

◆ HScrollBarRange()

int fabgl::uiScrollableControl::HScrollBarRange ( )
inline

Determines horizontal scrollbar range.

Range is the maximum position of the scrollbar. Maximum value of scrollbar position will HScrollBarRange() - HScrollBarVisible(). Range is measured in "scroll units". A scroll unit is determined by scrollbar size.

Returns
Scrollbar range in scroll units.