Make TabBar/Container default their alignments to the left instead of center
This commit is contained in:
@ -2560,7 +2560,6 @@ ProjectManager::ProjectManager() {
|
||||
tabs = memnew(TabContainer);
|
||||
center_box->add_child(tabs);
|
||||
tabs->set_anchors_and_offsets_preset(Control::PRESET_WIDE);
|
||||
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