[0.25.0] - 2023-05-17
Changed
- App
title
andsub_title
attributes can be set to any type #2521 DirectoryTree
now loads directory contents in a worker #2456- Only a single error will be written by default, unless in dev mode ("debug" in App.features) #2480
- Using
Widget.move_child
where the target and the child being moved are the same is now a no-op #1743 - Calling
dismiss
on a screen that is not at the top of the stack now raises an exception #2575 MessagePump.call_after_refresh
andMessagePump.call_later
will now returnFalse
if the callback could not be scheduled. #2584
Fixed
- Fixed
ZeroDivisionError
inresolve_fraction_unit
#2502 - Fixed
TreeNode.expand
andTreeNode.expand_all
not posting aTree.NodeExpanded
message #2535 - Fixed
TreeNode.collapse
andTreeNode.collapse_all
not posting aTree.NodeCollapsed
message #2535 - Fixed
TreeNode.toggle
andTreeNode.toggle_all
not posting aTree.NodeExpanded
orTree.NodeCollapsed
message #2535 footer--description
component class was being ignored #2544- Pasting empty selection in
Input
would raise an exception #2563 Screen.AUTO_FOCUS
now focuses the first focusable widget that matches the selector #2578Screen.AUTO_FOCUS
now works on the default screen on startup #2581- Fix for setting dark in App
__init__
#2583 - Fix issue with scrolling and docks #2525
- Fix not being able to use CSS classes with
Tab
#2589
Added
- Class variable
AUTO_FOCUS
to screens #2457 - Added
NULL_SPACING
andNULL_REGION
to geometry.py