Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[console][table] adjust width of colspanned cell.#18686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
aitboudad commentedMay 2, 2016
| Q | A |
|---|---|
| Branch? | 2.7 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #18627 |
| License | MIT |
| Doc PR | ~ |
| continue; | ||
| } | ||
| // split the TableCell centent in order to extending width of other columns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I don't understand what does this comment try to explain. We extend this cell up to the width of the largest column?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Normally when we usecolspan, the cells are merged into one and other cells areleft blank,
but when we want to calculate the column width we should split the merged cells content in different emptied cells in order to assume the average width of each columns
fabpot commentedMay 13, 2016
Thank you@aitboudad. |
This PR was merged into the 2.7 branch.Discussion----------[console][table] adjust width of colspanned cell.| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#18627| License | MIT| Doc PR | ~Commits-------9b35449 [console][table] adjust width of colspanned cell.
fabpot commentedMay 13, 2016
@aitboudad Can you submit a PR for Symfony 2.8? I've reverted the change as I was not able to easily resolve the conflicts, the code is very different. Thanks. |
aitboudad commentedMay 13, 2016
ok |