Class CopySizeLayout

#include <Geode/cocos/base_nodes/Layout.hpp>
classCopySizeLayout:publiccocos2d::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
staticcocos2d::CopySizeLayout*create()
No description provided
Public member functions4
cocos2d::CopySizeLayout*add()

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

cocos2d::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