Skip to content Skip to sidebar Skip to footer

Change Background Color Default Tab On Kivy

How can I change the background color of the default tab on kivy? I'm able to change the background of the content and other tabs, but the default tab remains unchanged, this is my

Solution 1:

The default tab is of type TabbedPanelHeader, so you can use kivy language rules to style it.

It’s important to note that by default, default_tab_cls is of type TabbedPanelHeader and thus has the same properties as other tabs.

You can also simply not have a default tab by setting do_default_tab to False.

Since 1.5.0, it is now possible to disable the creation of the default_tab by setting do_default_tab to False.

For more information read the documentation.

Post a Comment for "Change Background Color Default Tab On Kivy"