diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-31 12:52:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 12:52:03 +0200 |
commit | 532e253a7c0544bfb4866fb00129cfa1d39fcd62 (patch) | |
tree | 3b636228558a1d352ee05d6e1acca6261169472e /editor/import | |
parent | c881f607a90f6c6a7d8b5046ea155d881ede3ff1 (diff) | |
parent | eb573da2b582c3ad0cb0585cd30b1005cd1cf1eb (diff) |
Merge pull request #61455 from fire-forge/tab
Add color contrast to TabContainer backgrounds in the editor
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/dynamic_font_import_settings.cpp | 1 | ||||
-rw-r--r-- | editor/import/scene_import_settings.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editor/import/dynamic_font_import_settings.cpp b/editor/import/dynamic_font_import_settings.cpp index e546f01205..97892e47d4 100644 --- a/editor/import/dynamic_font_import_settings.cpp +++ b/editor/import/dynamic_font_import_settings.cpp @@ -1418,6 +1418,7 @@ DynamicFontImportSettings::DynamicFontImportSettings() { 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); + main_pages->set_theme_type_variation("TabContainerOdd"); root_vb->add_child(main_pages); label_warn = memnew(Label); diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index 83dff30dfa..d9ff4f79de 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -1229,6 +1229,7 @@ SceneImportSettings::SceneImportSettings() { data_mode = memnew(TabContainer); tree_split->add_child(data_mode); data_mode->set_custom_minimum_size(Size2(300 * EDSCALE, 0)); + data_mode->set_theme_type_variation("TabContainerOdd"); property_split = memnew(HSplitContainer); tree_split->add_child(property_split); |