[0.20.0] - 2023-04-18
Changed
- Changed signature of Driver. Technically a breaking change, but unlikely to affect anyone.
- Breaking change: Timer.start is now private, and returns None. There was no reason to call this manually, so unlikely to affect anyone.
- A clicked tab will now be scrolled to the center of its tab container #2276
- Style updates are now done immediately rather than on_idle #2304
ButtonVariant
is now exported fromtextual.widgets.button
#2264HorizontalScroll
andVerticalScroll
are now focusable by default #2317
Added
- Added
DataTable.remove_row
method #2253 - option
--port
to the commandtextual console
to specify which port the console should connect to #2258 Widget.scroll_to_center
method to scroll children to the center of container widget #2255 and #2276- Added
TabActivated
message toTabbedContent
#2260 - Added "panel" border style #2292
- Added
border-title-color
,border-title-background
,border-title-style
rules #2289 - Added
border-subtitle-color
,border-subtitle-background
,border-subtitle-style
rules #2289
Fixed
- Fixed order styles are applied in DataTable - allows combining of renderable styles and component classes #2272
- Fix empty ListView preventing bindings from firing #2281
- Fix
get_component_styles
returning incorrect values on first call when combined with pseudoclasses #2304 - Fixed
active_message_pump.get
sometimes resulting in aLookupError
#2301 - Fixed issue arising when active tab was changed too quickly in succession #2305