mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
spacing test
This commit is contained in:
12
sandbox/will/spacing.css
Normal file
12
sandbox/will/spacing.css
Normal 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
10
sandbox/will/spacing.py
Normal 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")
|
||||
Reference in New Issue
Block a user