Skip to content

[Console] Table counts wrong column width when using colspan and setColumnMaxWidth()#60044

Merged
nicolas-grekas merged 1 commit intosymfony:6.4from
vladimir-vv:fix_60043
Jun 27, 2025
Merged

[Console] Table counts wrong column width when using colspan and setColumnMaxWidth()#60044
nicolas-grekas merged 1 commit intosymfony:6.4from
vladimir-vv:fix_60043

Conversation

@vladimir-vv
Copy link
Copy Markdown
Contributor

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #60043
License MIT

When use colspan in headers and setColumnMaxWidth on first of spanned column the header will be wrapped.

@vladimir-vv vladimir-vv requested a review from chalasr as a code owner March 26, 2025 08:38
@carsonbot carsonbot added this to the 6.4 milestone Mar 26, 2025
@OskarStark OskarStark changed the title issues/60043: Table counts wrong column width when use colspan and setColumnMaxWidth() Table counts wrong column width when using colspan and setColumnMaxWidth() Mar 26, 2025
@carsonbot carsonbot changed the title Table counts wrong column width when using colspan and setColumnMaxWidth() [Console] Table counts wrong column width when using colspan and setColumnMaxWidth() Mar 26, 2025
@OskarStark
Copy link
Copy Markdown
Contributor

Can you please add a testcase which shows your behavior? Thanks

@vladimir-vv
Copy link
Copy Markdown
Contributor Author

Can you please add a testcase which shows your behavior? Thanks

Sure, I have updated the testWithColspanAndMaxWith() testcase.

1 similar comment
@vladimir-vv

This comment was marked as duplicate.

@nicolas-grekas
Copy link
Copy Markdown
Member

Thank you @vladimir-vv.

@nicolas-grekas nicolas-grekas merged commit 5d0df9f into symfony:6.4 Jun 27, 2025
8 of 11 checks passed
This was referenced Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants