Property

AdapToolbarView:bottom-bar-style

since: 1.4

Declaration

property bottom-bar-style: Adap.ToolbarStyle [ read, write ]

Description [src]

Appearance of the bottom bars.

If set to ADAP_TOOLBAR_FLAT, bottom bars are flat and scrolling content has a subtle undershoot shadow when touching them, same as the .undershoot-bottom style class. This works well for simple content, e.g. AdapStatusPage or AdapPreferencesPage, where the background at the bottom of the page is uniform. Additionally, windows with sidebars should always use this style.

Undershoot shadow is only present if a bottom bar is actually present and visible. It is also never present if AdapToolbarView:extend-content-to-bottom-edge is set to TRUE.

If set to ADAP_TOOLBAR_RAISED, bottom bars have an opaque background and a persistent shadow, this is suitable for content such as utility panes, where some elements are directly adjacent to the bottom bars, or AdapTabView, where each page can have a different background.

ADAP_TOOLBAR_RAISED_BORDER is similar to ADAP_TOOLBAR_RAISED, but the shadow is replaced with a more subtle border. This can be useful for applications like image viewers.

See also AdapToolbarView:top-bar-style.

Type: AdapToolbarStyle
Available since:1.4
Default valueADAP_TOOLBAR_FLAT
Getter methodadap_toolbar_view_get_bottom_bar_style()
Setter methodadap_toolbar_view_set_bottom_bar_style()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno