* canvas * imports * more box drawing * lines * lines * box drawing table * fix box table * tweak test * canvas color * simplify canvas * optimization * clipping * render experiment * keyline css * tests * don't draw around invisible widgets * optimize * snapshot test * docs and examples * tab size * disclaimer * docs * changelog * snapshots * accidental add * rename for consistency * simplify color * docstrings * comment * snapshots * micro optimize * micro-optimization * typing * set over list * remove comment * docstring * punctuation * Update docs/styles/keyline.md Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com> --------- Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
18 lines
421 B
Python
18 lines
421 B
Python
from textual.app import App, ComposeResult
|
|
from textual.containers import Horizontal
|
|
from textual.widgets import Placeholder
|
|
|
|
|
|
class KeylineApp(App):
|
|
CSS_PATH = "keyline_horizontal.tcss"
|
|
|
|
def compose(self) -> ComposeResult:
|
|
with Horizontal():
|
|
yield Placeholder()
|
|
yield Placeholder()
|
|
yield Placeholder()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = KeylineApp()
|
|
app.run()
|