VerticalAlignment

Since: BlackBerry 10.0.0

#include <bb/cascades/VerticalAlignment>

Ways to vertically align a control within its parent container.

Vertical alignment can be set on a control using the Control::verticalAlignment property. Setting the alignment only has an effect on controls within a StackLayout or DockLayout. Controls in an AbsoluteLayout are not affected.

The default alignment is Top.


Overview

Public Types Index

enum Type

Top, Bottom, Center, Fill

Public Types

Type

Specifies the vertical alignment of the control within its parent container.

Since:

BlackBerry 10.0.0

Top

Aligns to the top; this is the default alignment.

Bottom

Aligns to the bottom.

Since:

BlackBerry 10.0.0

Center

Aligns on the vertical center.

Since:

BlackBerry 10.0.0

Fill

Expands to fill the available height.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus