mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Make MarginContainer available with disable_advanced_gui=yes
Comparatively more advanced GUI nodes such as FlowContainer and AspectRatioContainer are already available when building with `disable_advanced_gui=yes`. This increases binary size by about 8 KB for binaries compiled with `disable_advanced_gui=yes` (Linux release export template with LTO enabled).
This commit is contained in:
parent
6ef2f358c7
commit
496a2ee1c7
@ -385,6 +385,7 @@ void register_scene_types() {
|
|||||||
GDREGISTER_CLASS(FlowContainer);
|
GDREGISTER_CLASS(FlowContainer);
|
||||||
GDREGISTER_CLASS(HFlowContainer);
|
GDREGISTER_CLASS(HFlowContainer);
|
||||||
GDREGISTER_CLASS(VFlowContainer);
|
GDREGISTER_CLASS(VFlowContainer);
|
||||||
|
GDREGISTER_CLASS(MarginContainer);
|
||||||
|
|
||||||
OS::get_singleton()->yield(); // may take time to init
|
OS::get_singleton()->yield(); // may take time to init
|
||||||
|
|
||||||
@ -419,7 +420,6 @@ void register_scene_types() {
|
|||||||
GDREGISTER_CLASS(AcceptDialog);
|
GDREGISTER_CLASS(AcceptDialog);
|
||||||
GDREGISTER_CLASS(ConfirmationDialog);
|
GDREGISTER_CLASS(ConfirmationDialog);
|
||||||
|
|
||||||
GDREGISTER_CLASS(MarginContainer);
|
|
||||||
GDREGISTER_CLASS(SubViewportContainer);
|
GDREGISTER_CLASS(SubViewportContainer);
|
||||||
GDREGISTER_CLASS(SplitContainer);
|
GDREGISTER_CLASS(SplitContainer);
|
||||||
GDREGISTER_CLASS(HSplitContainer);
|
GDREGISTER_CLASS(HSplitContainer);
|
||||||
|
Loading…
Reference in New Issue
Block a user