PGLayout attributes¶
Key |
Type |
Value |
Description |
---|---|---|---|
poga_layout |
bool |
true, false |
Enable poga layout |
position_type |
YGPositionType |
relative, absolute |
|
align_content |
YGAlign |
flex_start, flex_end, stretch, center, space_between, space_around, baseline, auto |
|
align_items |
YGAlign |
||
align_self |
YGAlign |
||
flex_wrap |
YGWrap |
nowrap, wrap, wrap_reverse |
|
flex_grow |
|||
flex_shrink |
|||
flex_basis |
|||
justify_content |
YGJustify |
flex_start, flex_end, center, space_between, space_around, space_evenly |
|
layout_direction |
YGDirection |
ltr, rtl |
default is ltr |
margin |
|||
padding |
|||
border |
|||
min_width |
|||
min_height |
|||
max_width |
|||
max_height |
|||
flex_direction |
YGFlexDirection |
row, column, row_reverse, column_reverse |
default is row |
width |
|||
width_percent |
|||
height |
|||
height_percent |