Kanzi  3.9.5
Kanzi Engine 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

◆ RowColumnDefinition()

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

◆ m_mode

RowColumnSizeMode kanzi::GridLayoutConcept::RowColumnDefinition::m_mode

◆ m_userSize

float kanzi::GridLayoutConcept::RowColumnDefinition::m_userSize

Layout size mode.

◆ m_maxSize

float kanzi::GridLayoutConcept::RowColumnDefinition::m_maxSize

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

◆ m_offset

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: