This library is a mildly-opinionated set of enhancements and extras for the Textual framework, mainly aimed at how I like my own Textual apps to look and work. I've written this as a common set of tweaks I want for my own Textual apps. It might be useful for yours too.
- All vertical scrollbars are set to one character in width, by default (in my applications I try really hard to avoid horizontal scrolling, so it's nice to make scrollbars less obtrusive given I almost always only have vertical bars).
- The icon on the left is hidden.
- The ability to click to expand the header is disabled.
I've tweaked the command palette so that:
- It doesn't take up the full width of the screen.
- super+x is added as an alternative method of calling it.
- : is added as an alternative method of calling it.
- The search icon is removed by default.
- The
background
is set to$panel
by default.
The background is set to transparent
by default.
TODO: Explain.
Adds .preserved_highlight
, which can be used like:
with stuff.preserved_highlight:
...rebuild the content of the list...
Adds a few more navigation keys.
Works around Textualize/textual#5489.
Mild style tweaks.
TODO: Explain.
TODO: Explain.
TODO: Explain.