GGUI::PlaceProps struct

ui.Place props: an overlay on a box's content. Takes no space among its siblings. Drawn in build order like them, so one built after the content is in front; Layer overrides that.

Public variables

GGAnchor Anchor
the point of the box it sits at
float X
offset from the anchor in UI units; right and down are positive
float Y
see X
GGSize Width
Fit: its content. Grow and Percent are relative to the box it is placed in.
GGSize Height
as Width
float Gap
between its children
GGEdges Padding
inside its edge
GGUI::GGAlign Align
its children, across: Stretch makes them as wide as the widest
std::string_view Class
its style classes
int8_t ZOrder
as BoxProps::ZOrder