mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Related PRs: #2139. Related comments: https://github.com/Textualize/textual/pull/2139\#discussion_r1149249378
28 lines
831 B
Python
28 lines
831 B
Python
from textual.app import App
|
|
from textual.containers import Grid
|
|
from textual.widgets import Label
|
|
|
|
|
|
class AllBordersApp(App):
|
|
def compose(self):
|
|
yield Grid(
|
|
Label("ascii", id="ascii"),
|
|
Label("blank", id="blank"),
|
|
Label("dashed", id="dashed"),
|
|
Label("double", id="double"),
|
|
Label("heavy", id="heavy"),
|
|
Label("hidden/none", id="hidden"),
|
|
Label("hkey", id="hkey"),
|
|
Label("inner", id="inner"),
|
|
Label("outer", id="outer"),
|
|
Label("round", id="round"),
|
|
Label("solid", id="solid"),
|
|
Label("tall", id="tall"),
|
|
Label("thick", id="thick"),
|
|
Label("vkey", id="vkey"),
|
|
Label("wide", id="wide"),
|
|
)
|
|
|
|
|
|
app = AllBordersApp(css_path="border_all.css")
|