cef_box_layout_settings_t

Settings used when initializing a CefBoxLayout.

Members

Variables

between_child_spacing
int between_child_spacing;

Adds additional space between child views.

cross_axis_alignment
cef_axis_alignment_t cross_axis_alignment;

Specifies where along the cross axis the child views should be laid out.

default_flex
int default_flex;

Default flex for views when none is specified via CefBoxLayout methods. Using the preferred size as the basis, free space along the main axis is distributed to views in the ratio of their flex weights. Similarly, if the views will overflow the parent, space is subtracted in these ratios. A flex of 0 means this view is not resized. Flex values must not be negative.

horizontal
int horizontal;

If true (1) the layout will be horizontal, otherwise the layout will be vertical.

inside_border_horizontal_spacing
int inside_border_horizontal_spacing;

Adds additional horizontal space between the child view area and the host view border.

inside_border_insets
cef_insets_t inside_border_insets;

Adds additional space around the child view area.

inside_border_vertical_spacing
int inside_border_vertical_spacing;

Adds additional vertical space between the child view area and the host view border.

main_axis_alignment
cef_axis_alignment_t main_axis_alignment;

Specifies where along the main axis the child views should be laid out.

minimum_cross_axis_size
int minimum_cross_axis_size;

Minimum cross axis size.

Meta