Refactors scaling to all happen in loadFromItems, removing the need for erroneous centerBuildTabs calls
Get parent of EditButtonBars and check if EditorUI instead of EditorUI::get as EditorUI::get is nullptr when the node is created, since it well, doesn't exist yet. This allows for using loadFromItems now, rather than the multiple calls of centerBuildTabs in EditorUI::init.
loadFromItems
, removing the need for erroneouscenterBuildTabs
callsEditorUI::get
asEditorUI::get
is nullptr when the node is created, since it well, doesn't exist yet. This allows for using loadFromItems now, rather than the multiple calls ofcenterBuildTabs
inEditorUI::init
.