v0.81.0

Textualize/textualv0.81.0Sep 25, 2024by willmcgugan

AI Summary

Tree-related fixes and updates to improve cursor movement and scrolling behavior.

Key Highlights

  • x_axis and y_axis parameters for scroll_to_region
  • Tree cursor movement fixes

New Features

  • x_axis and y_axis parameters to Widget.scroll_to_region
  • Tree.move_cursor_to_line

Full Release Notes

Mostly tree related fixes and a updates. Enjoy.

## [0.81.0] - 2024-09-25

### Added

- Added `x_axis` and `y_axis` parameters to `Widget.scroll_to_region` https://github.com/Textualize/textual/pull/5047
- Added `Tree.move_cursor_to_line` https://github.com/Textualize/textual/pull/5052

### Changed

- Tree will no longer scroll the X axis when moving the cursor https://github.com/Textualize/textual/pull/5047
- DirectoryTree will no longer select the first node https://github.com/Textualize/textual/pull/5052

### Fixed

- Fixed widgets occasionally not getting Resize events https://github.com/Textualize/textual/pull/5048
- Fixed tree regression https://github.com/Textualize/textual/pull/5052
- Fixed glitch with single line inline widget https://github.com/Textualize/textual/pull/5054