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
This commit is contained in:
parent
9d28e10276
commit
eb573da2b5
10 changed files with 16 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue