<!-- Release notes generated using configuration in .github/release.yml at master -->
What's Changed
New features 🗹
* Feature: support FIXED-only widgets and FIXED rendering for Columns by penguinolog in https://github.com/urwid/urwid/pull/731
* Feature: Support FIXED-only widgets and FIXED rendering for PILE by penguinolog in https://github.com/urwid/urwid/pull/733
* FIX Padding: support FIXED render mode by penguinolog in https://github.com/urwid/urwid/pull/734, https://github.com/urwid/urwid/pull/735, https://github.com/urwid/urwid/pull/737
* Feature: support FIXED render type for GridFLow by penguinolog in https://github.com/urwid/urwid/pull/738
Now it possible to quick check incomplete widgets prototypes without size counting like:
python
>>> import urwid
>>> grid = urwid.GridFlow(
...: (urwid.Button(tag, align=urwid.CENTER) for tag in ("OK", "Cancel", "Help")),
...: cell_width=10,
...: h_sep=1,
...: v_sep=1,
...: align=urwid.CENTER,
...: )
>>> body = urwid.Pile(
...: (
...: (urwid.Text("Window content text here and it should not touch line", align=urwid.CENTER)),
...: (urwid.PACK, grid),
...: )
...: )
>>> widget = urwid.LineBox(
...: urwid.Pile(
...: (
...: urwid.Text("Some window", align=urwid.CENTER),
...: urwid.Divider("─"),
...: urwid.Padding(body, width=urwid.PACK, left=1, right=1),
...: )
...: )
...: )
>>> print(b"\n".join(widget.render(()).text).decode("utf-8"))
┌───────────────────────────────────────────────────────┐
│ Some window │
│───────────────────────────────────────────────────────│
│ Window content text here and it should not touch line │
│ < OK > < Cancel > < Help > │
└───────────────────────────────────────────────────────┘
>>> widget.pack(())
(57, 6)
Bug fixes 🕷
* BUG: Columns with GIVEN width == 0 should not count in rows by penguinolog in https://github.com/urwid/urwid/pull/736
Refactoring 🛠
* Remove unused deprecated "test_suite" directive from setup.py by penguinolog in https://github.com/urwid/urwid/pull/729
**Full Changelog**: https://github.com/urwid/urwid/compare/2.4.1...2.4.2