| 1 | from pytermgui import Container, Label, pretty |
| 2 | |
| 3 | container = Container( |
| 4 | Label("This is the left", parent_align=0), |
| 5 | Label("This is the center", parent_align=1), |
| 6 | Label("This is the right", parent_align=2), |
| 7 | ) |
| 8 | |
| 9 | &container.static_width = 60 |
| 10 | &termage.fit(container) |
| 11 | for line in container.get_lines(): |
| 12 | print(line) |