| Summary: | Table column is packed correctly only after two calls to pack() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Matthias Boehm <Matthias.Boehm> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Matthias.Boehm | ||||
| Version: | 3.0 | ||||||
| Target Milestone: | 3.2 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: | https://git.eclipse.org/r/#/c/95252/ | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 267791 [details] Simple application that demonstrates the bug Table column is packed correctly only after two calls to pack() Please take a look at the attached application and do the following for reproducing the bug: 1) Start the application 2) enter "lllllllllllllllllll" into the text field, and click "set item text". The entered text is assigned to the first and only table item. Subsequently, a pack() on the only table column is executed. The result: the column is packed too wide. Only after executing a second pack by clicking on the button "pack" the width of the column is set correctly. 3) Point 2 can be repeated with other arbitrary item texts. NOTE 1: when entering "mmmmmmmmmmmmmmmmmmm" in the text field, the column is packed too small, instead of too wide. NOTE 2: The described behaviour applies only to new texts that have not been entered already. If an already previously entered text is assigned to the table item, the subsequent call to pack() packs the column correctly immediately.