summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-05-31 12:52:03 +0200
committerGitHub <noreply@github.com>2022-05-31 12:52:03 +0200
commit532e253a7c0544bfb4866fb00129cfa1d39fcd62 (patch)
tree3b636228558a1d352ee05d6e1acca6261169472e /modules
parentc881f607a90f6c6a7d8b5046ea155d881ede3ff1 (diff)
parenteb573da2b582c3ad0cb0585cd30b1005cd1cf1eb (diff)
Merge pull request #61455 from fire-forge/tab
Add color contrast to TabContainer backgrounds in the editor
Diffstat (limited to 'modules')
-rw-r--r--modules/openxr/editor/openxr_action_map_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/openxr/editor/openxr_action_map_editor.cpp b/modules/openxr/editor/openxr_action_map_editor.cpp
index 6e9a2e1b61..87b7f50224 100644
--- a/modules/openxr/editor/openxr_action_map_editor.cpp
+++ b/modules/openxr/editor/openxr_action_map_editor.cpp
@@ -344,6 +344,7 @@ OpenXRActionMapEditor::OpenXRActionMapEditor() {
tabs = memnew(TabContainer);
tabs->set_h_size_flags(SIZE_EXPAND_FILL);
tabs->set_v_size_flags(SIZE_EXPAND_FILL);
+ tabs->set_theme_type_variation("TabContainerOdd");
tabs->connect("tab_changed", callable_mp(this, &OpenXRActionMapEditor::_on_tabs_tab_changed));
tabs->connect("tab_button_pressed", callable_mp(this, &OpenXRActionMapEditor::_on_tab_button_pressed));
add_child(tabs);