mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Animating tab change, set initial tab
This commit is contained in:
@@ -48,8 +48,8 @@ class BasicApp(App):
|
||||
Tab("Seven", name="seven"),
|
||||
Tab("Eight", name="eight"),
|
||||
],
|
||||
active_tab="three",
|
||||
)
|
||||
self.tabs.active_tab_name = "one"
|
||||
"""Build layout here."""
|
||||
self.mount(
|
||||
header=self.tabs,
|
||||
|
||||
Reference in New Issue
Block a user