bnmjkm / opal

Automatically exported from code.google.com/p/opal
0 stars 0 forks source link

DualList Tables do not resize correctly #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Insert items without images
2. the items' names must be long enough to exceed the witdh thint of 200
3. Open the view containing the dual list

What is the expected output? What do you see instead?
The items are displayed as width as the table is. Currently, the items are 
trimed even if the table is big enought (see screenshot attached).

What version of the product are you using? On what operating system?
windows 7, eclipse kepler SR2, Opal 0.9.9e

Please provide any additional information below.
The problem can be solved by extending the DualList.setBounds method with 
calling pack() on the table columns containing the text.
See this code for the fix:
https://github.com/kopl/SPLevo/commit/07873f4a2a837744c75325f44ec7b254ab758600#d
iff-26aed469b81ddbc02be9c2afdfd6a6dfR1053

Original issue reported on code.google.com by benjamin...@gmail.com on 3 Jul 2014 at 8:19

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in V1.0.0

Original comment by laurent....@gmail.com on 16 Jul 2014 at 8:23