Commit 8c45431
authored
fix: ThemedTable2 header overflow detection by including the sort icon width in the available text width, ensuring tooltips appear correctly (#126)
This pull request addresses an issue with header overflow detection in
the `ThemedTable2` widget. The main improvement ensures that tooltips
appear correctly by accounting for the width of the sort icon when
calculating the available text width in table headers.
### Table Header Overflow Fixes
* Updated the calculation of available text width in `ThemedTable2`
headers to subtract the sort icon width when present, ensuring accurate
overflow detection and proper tooltip display.
### Documentation and Versioning
* Updated the `CHANGELOG.md` to document the header overflow fix in
version 7.5.20.
* Bumped the package version to 7.5.20 in `pubspec.yaml`.3 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
487 | 490 | | |
488 | 491 | | |
489 | 492 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments