You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
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:
@@ -644,6 +644,7 @@ InputEventConfigurationDialog::InputEventConfigurationDialog() {
|
||||
tab_container = memnew(TabContainer);
|
||||
tab_container->set_use_hidden_tabs_for_min_size(true);
|
||||
tab_container->set_v_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
tab_container->set_theme_type_variation("TabContainerOdd");
|
||||
tab_container->connect("tab_selected", callable_mp(this, &InputEventConfigurationDialog::_tab_selected));
|
||||
main_vbox->add_child(tab_container);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user