summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFireForge <67974470+fire-forge@users.noreply.github.com>2022-05-26 21:12:09 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-05-26 21:19:15 -0500
commiteb573da2b582c3ad0cb0585cd30b1005cd1cf1eb (patch)
tree87c2061b3e5c64fac4b308bb4cb0df1eea7c64df /modules
parent9d28e1027636ebf1750a65105f6a23a17210813d (diff)
Use "odd" style for TabContainers on base BG color
- Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
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);