spacing test

This commit is contained in:
Will McGugan
2022-08-30 10:00:12 +01:00
parent 7463066f0a
commit b5cb875c5f
2 changed files with 22 additions and 0 deletions

12
sandbox/will/spacing.css Normal file
View File

@@ -0,0 +1,12 @@
Screen {
overflow: auto;
}
Static {
background: blue 20%;
height: 100%;
margin: 2 4;
min-width: 30;
}

10
sandbox/will/spacing.py Normal file
View File

@@ -0,0 +1,10 @@
from textual.app import App
from textual.widgets import Static
class SpacingApp(App):
def compose(self):
yield Static()
app = SpacingApp(css_path="spacing.css")