Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::GridLayoutConcept::RowColumnDefinition Struct Reference

Definition for the size and position of a single row or column. More...

#include <kanzi/ui/node/concept/grid_layout_concept.hpp>

Public Member Functions

 RowColumnDefinition (RowColumnSizeMode mode, float userSize, float maxSize, float offset)
 Constructor. More...
 

Public Attributes

float m_maxSize
 Fixed size or weight of the row or column, depending on the layout mode. More...
 
RowColumnSizeMode m_mode
 
float m_offset
 Maximum size of an item on this row or column. More...
 
float m_userSize
 Layout size mode. More...
 

Detailed Description

Definition for the size and position of a single row or column.

Constructor & Destructor Documentation

kanzi::GridLayoutConcept::RowColumnDefinition::RowColumnDefinition ( RowColumnSizeMode  mode,
float  userSize,
float  maxSize,
float  offset 
)
inlineexplicit

Constructor.

Parameters
modeRow or column mode.
userSizeRow or column size.
maxSizeRow or column maximum size.
offsetRow or column offset.

Member Data Documentation

RowColumnSizeMode kanzi::GridLayoutConcept::RowColumnDefinition::m_mode
float kanzi::GridLayoutConcept::RowColumnDefinition::m_userSize

Layout size mode.

float kanzi::GridLayoutConcept::RowColumnDefinition::m_maxSize

Fixed size or weight of the row or column, depending on the layout mode.

float kanzi::GridLayoutConcept::RowColumnDefinition::m_offset

Maximum size of an item on this row or column.


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