# Record TCefBoxLayoutSettings

Description
Fields

## Unit

uCEFTypes

## Declaration

`type TCefBoxLayoutSettings = record`

## Description

Initialization settings. Specify NULL or 0 to get the recommended default values. Many of these and other settings can also configured using command- line switches.

<see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/internal/cef_types.h">CEF source file: /include/internal/cef_types.h (cef_box_layout_settings_t))

## Overview

### Fields

Public | `size: NativeUInt;`
Public | `horizontal: Integer;`
Public | `inside_border_horizontal_spacing: Integer;`
Public | `inside_border_vertical_spacing: Integer;`
Public | `inside_border_insets: TCefInsets;`
Public | `between_child_spacing: Integer;`
Public | `main_axis_alignment: TCefAxisAlignment;`
Public | `cross_axis_alignment: TCefAxisAlignment;`
Public | `minimum_cross_axis_size: Integer;`
Public | `default_flex: Integer;`

## Description

### Fields

Public | `size: NativeUInt;`
Size of this structure.

Public | `horizontal: Integer;`
If true (1) the layout will be horizontal, otherwise the layout will be vertical.

Public | `inside_border_horizontal_spacing: Integer;`
Adds additional horizontal space between the child view area and the host view border.

Public | `inside_border_vertical_spacing: Integer;`
Adds additional vertical space between the child view area and the host view border.

Public | `inside_border_insets: TCefInsets;`
Adds additional space around the child view area.

Public | `between_child_spacing: Integer;`
Adds additional space between child views.

Public | `main_axis_alignment: TCefAxisAlignment;`
Specifies where along the main axis the child views should be laid out.

Public | `cross_axis_alignment: TCefAxisAlignment;`
Specifies where along the cross axis the child views should be laid out.

Public | `minimum_cross_axis_size: Integer;`
Minimum cross axis size.

Public | `default_flex: Integer;`
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.

Generated by PasDoc 1.0.4.