hc99's picture
Add files using upload-large-folder tool
5b76e0f verified
from textual.app import App, ComposeResult
from textual.widgets import Static
class VerticalLayoutExample(App):
CSS_PATH = "vertical_layout.css"
def compose(self) -> ComposeResult:
yield Static("One", classes="box")
yield Static("Two", classes="box")
yield Static("Three", classes="box")
if __name__ == "__main__":
app = VerticalLayoutExample()
app.run()