Skip to content

Commit 6bfb7e8

Browse files
authored
Fix DataTable.header_height reactive visual glitch and crash (#6128)
1 parent 606a168 commit 6bfb7e8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

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

2525
- Fixed issue where Segments with a style of `None` aren't rendered https://github.com/Textualize/textual/pull/6109
26+
- Fixed visual glitches and crash when changing `DataTable.header_height` https://github.com/Textualize/textual/pull/6128
2627

2728
## [6.1.0] - 2025-08-01
2829

src/textual/widgets/_data_table.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,9 @@ def watch_fixed_columns(self) -> None:
11601160
def watch_zebra_stripes(self) -> None:
11611161
self._clear_caches()
11621162

1163+
def watch_header_height(self) -> None:
1164+
self._clear_caches()
1165+
11631166
def validate_cell_padding(self, cell_padding: int) -> int:
11641167
return max(cell_padding, 0)
11651168

0 commit comments

Comments
 (0)