The Python Papers

The Python Papers

Share this post

The Python Papers
The Python Papers
Textual – How to Add Widgets to a Container (Part II)
Copy link
Facebook
Email
Notes
More

Textual – How to Add Widgets to a Container (Part II)

Horizontal layouts and built-in containers

Mike Driscoll's avatar
Mike Driscoll
May 12, 2025
∙ Paid
3

Share this post

The Python Papers
The Python Papers
Textual – How to Add Widgets to a Container (Part II)
Copy link
Facebook
Email
Notes
More
Share

Last week, you learned how to create a vertical layout in a TUI using Python and Textual. You used straight Python code for your layout and then you switched to a mixture of CSS and Python.

This week, you will continue your Textual layout journey and learn about horizontal layouts and some of Textual’’s built-in containers.

Let’s get started!

Horizontal La…

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More