Skip to content

Trying to vertically align a label inside a Horizontal container #4809

Answered by TomJGooding
Banbury asked this question in Q&A
Discussion options

You must be logged in to vote

align works on the children of a container, it isn't something you use on the child you want centered.

https://textual.textualize.io/FAQ/#how-do-i-center-a-widget-in-a-screen
https://textual.textualize.io/how-to/center-things

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Banbury
Comment options

Answer selected by Banbury
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