AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ass::ScrollbarAppearance Struct Reference

Controls how do scrollbars and content appear in AScrollArea. This rule is applicable to AScrollArea only.

#include <AUI/ASS/Property/ScrollbarAppearance.h>

Public Types#

enum  AxisValue { ALWAYS , ON_DEMAND , NEVER }
 Per-axis behaviour enum. More...
 

Public Member Functions#

AxisValue getVertical ()
 
AxisValue getHorizontal ()
 
 ScrollbarAppearance (AxisValue both)
 
 ScrollbarAppearance (AxisValue vertical, AxisValue horizontal)
 

Member Enumeration Documentation#

◆ AxisValue#

Enumerator
ALWAYS 

Scrollbar is always visible, no matter whether or not any content is overflowing.

ON_DEMAND 

Scrollbar appears only if content is overflowing.

NEVER 

Scrollbar is always gone, no matter whether or not any content is overflowing.