Make TabContainer use TabBar internally
This commit is contained in:
@ -2566,7 +2566,7 @@ ProjectManager::ProjectManager() {
|
||||
tabs = memnew(TabContainer);
|
||||
center_box->add_child(tabs);
|
||||
tabs->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
tabs->set_tab_alignment(TabContainer::ALIGNMENT_LEFT);
|
||||
tabs->set_tab_alignment(TabBar::ALIGNMENT_LEFT);
|
||||
tabs->connect("tab_changed", callable_mp(this, &ProjectManager::_on_tab_changed));
|
||||
|
||||
HBoxContainer *projects_hb = memnew(HBoxContainer);
|
||||
|
||||
Reference in New Issue
Block a user