bczsalba / pytermgui

Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
https://ptg.bczsalba.com
MIT License
2.23k stars 54 forks source link

[REQUEST] Add Container vertical alignment #11

Closed bczsalba closed 2 years ago

bczsalba commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, vertical alignment within containers is done by hand, which is really annoying and much too stiff in comparison with other parts of the library.

Describe the solution you'd like Add Container.vertical_alignment policy and enums.ContainerVerticalAlign enum.

Describe alternatives you've considered Doing it manually: cumbersome.

Is this feature present in other TUI products? It is present in Rich, and thus in Textual as well. Not sure about nurses2.

bczsalba commented 2 years ago

Added in v2.0.0.