Class SpacerNodeChild

#include <Geode/ui/SpacerNode.hpp>
classSpacerNodeChild:publicgeode::SpacerNode{ ... }

A spacer node that updates the content size of its child to match its own

ℹ This is useful for making a spacer node that takes up the remaining space in a layout

Examples0
Public static methods1
staticgeode::SpacerNodeChild*create(,)

Create a new spacer node. When the layout is applied, if there is space left over the remaining space is distributed among all spacer nodes in proportion to the sum of all the spacers’ grow factors (akin to CSS flew grow)

Parameters

grow

The grow factor for this node. Default is 1
Public member functions1
virtualvoidsetContentSize()
No description provided
Fields0
Protected member functions1
boolinit(,)
No description provided
Protected fields1
;
No description provided