mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
31 lines
774 B
Python
31 lines
774 B
Python
from textual.app import App
|
|
from textual.containers import Horizontal, VerticalScroll
|
|
from textual.widgets import Placeholder
|
|
|
|
|
|
class VisibilityContainersApp(App):
|
|
def compose(self):
|
|
yield VerticalScroll(
|
|
Horizontal(
|
|
Placeholder(),
|
|
Placeholder(),
|
|
Placeholder(),
|
|
id="top",
|
|
),
|
|
Horizontal(
|
|
Placeholder(),
|
|
Placeholder(),
|
|
Placeholder(),
|
|
id="middle",
|
|
),
|
|
Horizontal(
|
|
Placeholder(),
|
|
Placeholder(),
|
|
Placeholder(),
|
|
id="bot",
|
|
),
|
|
)
|
|
|
|
|
|
app = VisibilityContainersApp(css_path="visibility_containers.css")
|