# Bug OP-16562 - Work package pdf export - table width formatting

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16562

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Export / PDF Export |
| Target versions | 16.3.0 |
| Observed in versions |  |
| Sprint | 16.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Create a table in work package description

2.  Export work package to pdf

### What is the buggy behavior?

  - The colum width in the exported pdf is not consistent with the table on work package

  - Some column are really narrow and some are unncesserarly wide (see exemple in captures below)

### What is the expected behavior?

1.  More consistent column width in pdf export

2.  Column width adapted to the content

3.  Would be nice : pdf export table consistent with manually set column width value of the table (right now the manually set values have no effect on the exported pdf)

Remarks

  - Reported to Openproject heldesk ticket 23623, helpdesked referred to <mention class="mention" data-id="59534" data-type="work_package" data-text="##59534">##59534</mention> but this bug report does not include this particular issue

### Screenshots and other files

<figure class="image image_resized op-uc-figure" style="width:688px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/293055/content"></div><figcaption class="op-uc-figure--description">Table as shown in work package</figcaption></figure>

<figure class="image image_resized op-uc-figure" style="width:699px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/293058/content"></div><figcaption class="op-uc-figure--description">Table as exported pdf (column 2 is really narrow and column 3 is really wide)</figcaption></figure>

### Environment information

**OpenProject installation type**

  - Self Hosted

  - Packaged installation
    
      - What distribution? Ubuntu

**OpenProject version**

*V15.2.0*
