Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
A utility class for referencing the alignment characteristics in layout_attributes_t. More...
#include <adobe/layout_attributes.hpp>
Public Types | |
enum | alignment_t { align_forward , align_reverse , align_center , align_proportional , align_forward_fill , align_reverse_fill , align_default , align_fill , align_left_fill , align_right_fill , align_top_fill , align_bottom_fill , align_left , align_right , align_top , align_bottom } |
Definition at line 29 of file layout_attributes.hpp.
enum alignment_t |
Enumerator | |
---|---|
align_forward | aligned either left or top depending on axis. |
align_reverse | aligned either right or bottom depending on axis. |
align_center | aligned centered within available space. Guides are supporessed |
align_proportional | extra space in the parent container's layout is distributed evenly among those with this alignment. First item being forward aligned and last item being right aligned. Guides are suppressed. |
align_forward_fill | Expands to fill the available space. Identical to align_reverse_fill unless item is not a container and contains a guide, in which case, the guide will snap to other forward guides, and the item will fill forward. Normally used for edit_text, edit_number, and popup. |
align_reverse_fill | Expands to fill the available space. Identical to align_forward_fill unless item is not a container and contains a guide, in which case, the guide will snap to other reverse guides, and the item will fill reverse. This alignment is the conterpart to align_forward_fill, intended for implementing support for right-to-left languages. See Implementing Right-To-Left Layout. |
align_default | default alignment, alignment is picked up by the parent. |
align_fill | Identical to align_forward_fill. |
align_left_fill | |
align_right_fill | |
align_top_fill | |
align_bottom_fill | |
align_left | Identical to align_foward. |
align_right | Identical to align_reverse. |
align_top | Identical to align_foward. |
align_bottom | Identical to align_reverse. |
Definition at line 30 of file layout_attributes.hpp.