Add example for column-span.

This commit is contained in:
Rodrigo Girão Serrão
2022-12-19 18:44:48 +00:00
parent 5ff0f79720
commit 0ccc2bbc00
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
from textual.app import App
from textual.containers import Grid
from textual.widgets import Placeholder
class MyApp(App):
def compose(self):
yield Grid(
Placeholder(id="p1"),
Placeholder(id="p2"),
Placeholder(id="p3"),
Placeholder(id="p4"),
Placeholder(id="p5"),
Placeholder(id="p6"),
Placeholder(id="p7"),
)
app = MyApp(css_path="column_span.css")