mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
merge
This commit is contained in:
8
sandbox/will/fill.css
Normal file
8
sandbox/will/fill.css
Normal file
@@ -0,0 +1,8 @@
|
||||
App Static {
|
||||
border: heavy white;
|
||||
background: blue;
|
||||
color: white;
|
||||
height: 100%;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
10
sandbox/will/fill.py
Normal file
10
sandbox/will/fill.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.widgets import Static
|
||||
|
||||
|
||||
class FillApp(App):
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Static("Hello")
|
||||
|
||||
|
||||
app = FillApp(css_path="fill.css")
|
||||
Reference in New Issue
Block a user