-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Table: fix row width #560
Comments
I just found out that you have to set style "layout" fixed on your table like below
and then the long word will wrap itself inside the cell. If you preset a table style on your phpword object, the layout style won't work.
In ms word you also need to set the autofit option directly on each table, maybe that's why. I think this issue can be closed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I have a problem with table rows: I want to fix the width and when a user adds text in the generated document the width stills fixed.
Actually it seems the $table->addCell($width); gives only a min-width for the cell and i want to set a max.
Can I do that?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: