libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
GuiStackItem Struct Reference

One child of a stack, as the solver sees it. More...

#include <GuiLayoutSolver.h>

Public Attributes

float w
 
float h
 Natural size (for a gap: its fixed size along the main axis).
 
float grow
 Share of leftover main-axis space this item takes (0 = none).
 
bool useContainerAlign
 true: use the stack's alignItems; false: use align.
 
LAYOUT_ALIGN align
 Cross-axis alignment when not using the container's.
 

Detailed Description

One child of a stack, as the solver sees it.

Definition at line 47 of file GuiLayoutSolver.h.

Constructor & Destructor Documentation

◆ GuiStackItem()

GuiStackItem::GuiStackItem ( )
inline

Definition at line 52 of file GuiLayoutSolver.h.

Member Data Documentation

◆ align

LAYOUT_ALIGN GuiStackItem::align

Cross-axis alignment when not using the container's.

Definition at line 51 of file GuiLayoutSolver.h.

◆ grow

float GuiStackItem::grow

Share of leftover main-axis space this item takes (0 = none).

Definition at line 49 of file GuiLayoutSolver.h.

◆ h

float GuiStackItem::h

Natural size (for a gap: its fixed size along the main axis).

Definition at line 48 of file GuiLayoutSolver.h.

◆ useContainerAlign

bool GuiStackItem::useContainerAlign

true: use the stack's alignItems; false: use align.

Definition at line 50 of file GuiLayoutSolver.h.

◆ w

float GuiStackItem::w

Definition at line 48 of file GuiLayoutSolver.h.


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