mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-25 14:50:37 +01:00
15 lines
368 B
Python
15 lines
368 B
Python
from kivymd.tests.base_test import BaseTest
|
|
|
|
|
|
class TabTest(BaseTest):
|
|
def test_tab_raw_app(self):
|
|
from kivymd.uix.floatlayout import MDFloatLayout
|
|
from kivymd.uix.tab import MDTabs, MDTabsBase
|
|
|
|
class Tab(MDFloatLayout, MDTabsBase):
|
|
pass
|
|
|
|
tab = MDTabs()
|
|
tab.add_widget(Tab(title="Tab"))
|
|
self.render(tab)
|