Skip to content
Discussion options

You must be logged in to vote

Consider any Scandinavian flag with the left 1/3 composed of two vertical blocks and the right 2/3 composed of 1 large block.

I'm slightly confused by this description as the flags you mention don't appear to match the layout you say you're going for (you seem to mention 3 blocks, but a cross would suggest 4 blocks), but I'm going to go with the layout description and assume 2 blocks to the left, stacked vertically, with one block to the right, with a 1/3 to 2/3 split.

If I were to do that I'd probably start out like this:

from textual.app        import App, ComposeResult
from textual.containers import Horizontal, Vertical
from textual.widgets    import Header, Footer, Static

class Exa…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bphunter1972
Comment options

@davep
Comment options

@bphunter1972
Comment options

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
Converted from issue

This discussion was converted from issue #2084 on March 18, 2023 06:52.