Class CopySizeLayout

#include <Geode/ui/Layout.hpp>
classCopySizeLayout:publicgeode::AnchorLayout{ ... }

A layout for automatically copying the content size of a node to other nodes. Basically main use case is for FLAlertLayers (setting the size of the background and m_buttonMenu based on m_mainLayer)

Examples0
Public static methods1
staticgeode::CopySizeLayout*create()
No description provided
Public member functions4
geode::CopySizeLayout*add()

Add a target to be automatically resized. Any targets’ layouts will also be updated when this layout is updated

geode::CopySizeLayout*remove()

Remove a target from being automatically resized

virtualvoidapply()
No description provided
virtualcocos2d::CCSizegetSizeHint()const
No description provided
Fields0
Protected member functions0
Protected fields1
;
No description provided