summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2022-03-07 11:32:49 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2022-03-17 18:12:23 -0300
commitdeb1342036555763da5c2133c178068153136fef (patch)
tree568ccc5bad3d61742c8652eb20e8ffc42bb6b22e /editor/import
parente142c10fc54eb00d4177fe11c93d332d1a79b03f (diff)
Make `TabBar/Container` default their alignments to the left instead of center
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/dynamic_font_import_settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/import/dynamic_font_import_settings.cpp b/editor/import/dynamic_font_import_settings.cpp
index 2ecc483938..8904e012cf 100644
--- a/editor/import/dynamic_font_import_settings.cpp
+++ b/editor/import/dynamic_font_import_settings.cpp
@@ -1393,6 +1393,7 @@ DynamicFontImportSettings::DynamicFontImportSettings() {
add_child(root_vb);
main_pages = memnew(TabContainer);
+ main_pages->set_tab_alignment(TabBar::ALIGNMENT_CENTER);
main_pages->set_v_size_flags(Control::SIZE_EXPAND_FILL);
main_pages->set_h_size_flags(Control::SIZE_EXPAND_FILL);
root_vb->add_child(main_pages);