Skip to content
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

Feature request - set table cell width #112

Closed
bluebob opened this issue Oct 10, 2017 · 0 comments
Closed

Feature request - set table cell width #112

bluebob opened this issue Oct 10, 2017 · 0 comments

Comments

@bluebob
Copy link

bluebob commented Oct 10, 2017

Description

Desirable to be able to set column widths in tables in Word documents to either fixed or percentage sizes. Assumption that this can be achieved by a SetWidth property on cells as already available for tables as a whole or cell-spacing, rather than having to introduce something like table.Column().SetWidthAuto().

Expected Behavior

  1. cell.Properties().SetWidthPercent(25.0) - cell is 1/4 of designated table width
  2. cell.Properties().SetWidth(20*measurement.Pixel72) - cell is 20 pixels wide
  3. cell.Properties().SetWidthAuto() - current behaviour

Actual Behavior

New feature - so no existing capability bar the autosize option. Requested feature is desirable to prevent an overly large first column from forcing line break on all rightward columns. Arguably this should have been part of the spec for FR #109 (Apologies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant