Skip to content

Commit baab54c

Browse files
committed
fix for auto heights
1 parent a6b1710 commit baab54c

File tree

5 files changed

+312
-68
lines changed

5 files changed

+312
-68
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
### Fixed
1111

1212
- Fixed smooth scrolling broken on iTerm over SSH https://github.com/Textualize/textual/pull/5551
13+
- Fixed height of auto container which contains auto height children https://github.com/Textualize/textual/pull/5552
1314

1415
## [2.0.4] - 2025-02-17
1516

src/textual/_arrange.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,6 @@ def arrange(
100100
if styles.align_horizontal != "left" or styles.align_vertical != "top":
101101
bounding_region = WidgetPlacement.get_bounds(layout_placements)
102102
container_width, container_height = dock_region.size
103-
# if styles.is_auto_height:
104-
# container_height = 0
105-
# if styles.is_auto_width:
106-
# container_width = 0
107-
108103
placement_offset += styles._align_size(
109104
bounding_region.size,
110105
Size(
Lines changed: 157 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)