Files
textual/docs/examples/guide/layout/layers.py
Rodrigo Girão Serrão 5ee0ebfef4 Rename CSS files to TCSS.
Related issue: #3137.
2023-08-22 13:21:17 +01:00

16 lines
357 B
Python

from textual.app import App, ComposeResult
from textual.widgets import Static
class LayersExample(App):
CSS_PATH = "layers.tcss"
def compose(self) -> ComposeResult:
yield Static("box1 (layer = above)", id="box1")
yield Static("box2 (layer = below)", id="box2")
if __name__ == "__main__":
app = LayersExample()
app.run()