gomutex/godocx

How can I full width a table (or set it's width)?

Opened this issue · 1 comments

Issue Description

I can't set the table's width

Steps to Reproduce

Funnily enough, the sample code doesn't give the result shown with it

Expected Behavior

Get the sample result as the sample code

Actual Behavior

A very compressed table with 1 character cell width

Environment Details

  • GoDocx Library Version: 0.1.5
  • Go Version: 1.20.3
  • Operating System:
    • [ X] Windows
    • macOS
    • Linux
  • Word Processor Used:
    • Microsoft Word
    • LibreOffice
    • Google Docs
    • Other (please specify) WPS
  • Word Processor Version:

Sample Code

I'm just using the sample code

It seems like the issue was with WPS itself. When I tried opening the docx file with WordPad, the table was full width. But I think the ability to be able to set a table's width would still be nice