Chromium Embedded Framework (CEF)  130.1.2+g48f3ef6+chromium-130.0.6723.44
cef_box_layout_settings_t Struct Reference

Settings used when initializing a CefBoxLayout. More...

#include "include/internal/cef_types.h"

Inheritance diagram for cef_box_layout_settings_t:
CefBoxLayoutSettings

Public Attributes

int horizontal
 If true (1) the layout will be horizontal, otherwise the layout will be vertical. More...
 
int inside_border_horizontal_spacing
 Adds additional horizontal space between the child view area and the host view border. More...
 
int inside_border_vertical_spacing
 Adds additional vertical space between the child view area and the host view border. More...
 
cef_insets_t inside_border_insets
 Adds additional space around the child view area. More...
 
int between_child_spacing
 Adds additional space between child views. More...
 
cef_axis_alignment_t main_axis_alignment
 Specifies where along the main axis the child views should be laid out. More...
 
cef_axis_alignment_t cross_axis_alignment
 Specifies where along the cross axis the child views should be laid out. More...
 
int minimum_cross_axis_size
 Minimum cross axis size. More...
 
int default_flex
 Default flex for views when none is specified via CefBoxLayout methods. More...
 

Detailed Description

Settings used when initializing a CefBoxLayout.

Member Data Documentation

◆ between_child_spacing

int cef_box_layout_settings_t::between_child_spacing

Adds additional space between child views.

◆ cross_axis_alignment

cef_axis_alignment_t cef_box_layout_settings_t::cross_axis_alignment

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

◆ default_flex

int cef_box_layout_settings_t::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 cef_box_layout_settings_t::horizontal

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

◆ inside_border_horizontal_spacing

int cef_box_layout_settings_t::inside_border_horizontal_spacing

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

◆ inside_border_insets

cef_insets_t cef_box_layout_settings_t::inside_border_insets

Adds additional space around the child view area.

◆ inside_border_vertical_spacing

int cef_box_layout_settings_t::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 cef_box_layout_settings_t::main_axis_alignment

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

◆ minimum_cross_axis_size

int cef_box_layout_settings_t::minimum_cross_axis_size

Minimum cross axis size.


The documentation for this struct was generated from the following file: