-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved the documentation about the explicit column widths #6437
Conversation
@javiereguiluz Why not making this change in older branches too? |
this is a new feature isn't it? http://symfony.com/blog/new-in-symfony-3-1-explicit-column-widths-in-console-tables |
Indeed 👍 reads better |
by default. You can control the minimum widths via :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths`:: | ||
By default the width of the columns is calculated automatically based on their | ||
contents. Use the :method:`Symfony\\Component\\Console\\Helper\\Table::setColumnWidths` | ||
method to set the columns widths explicitly:: |
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.
column
Fixed all the reported issues. |
Thanks @javiereguiluz! I've added the missing versionadded directive for these new methods in 8d9acc5 |
…lumn widths (javiereguiluz) This PR was squashed before being merged into the master branch (closes symfony#6437). Discussion ---------- Improved the documentation about the explicit column widths | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | master (3.1+) | Fixed tickets | - In addition to the rewording, the `setColumnWidth()` explanation was missing. Commits ------- 88ecd20 Improved the documentation about the explicit column widths
In addition to the rewording, the
setColumnWidth()
explanation was missing.