Skip to content
Discussion options

You must be logged in to vote

If I've understood the basics of what you're trying to lay out, I think this is roughly what you're looking for?

from textual.app import App, ComposeResult
from textual.widgets import Footer
from textual.containers import Container

class LayoutTest( App[ None ] ):

    CSS="""
    #left {
        width: 20%;
        height: 100%;
        dock: left;
        border: solid grey;
        background: #555;
    }

    #top {
        height: 20;
        dock: top;
        border: solid grey;
        background: #555;
    }

    #body {
        border: dashed red;
        background: yellow;
    }

    #bottom {
        height: 20;
        dock: bottom;
        border: solid grey;
        backg…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants