Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353545 - [Tree] TreeColumn#pack does not work correctly
Summary: [Tree] TreeColumn#pack does not work correctly
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 04:15 EDT by Ivan Furnadjiev CLA
Modified: 2011-08-02 09:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Furnadjiev CLA 2011-08-02 04:15:33 EDT
Reproducible with Controls Demo -> Tree Tab from CVS HEAD. Click on "Pack all columns" and observe the result. Items with text "Node_10.x" are cut off. Expand the first node and execute the pack again. Subnodes are not respected in column width calculation.
Comment 1 Ivan Furnadjiev CLA 2011-08-02 09:08:13 EDT
The TreeColumn#pack() now respects sub items. There is still an issue with TreeColumn and text size determination. When pack is executed, the column width is based on "estimated" texts width. This issue will be covered by bug 233614.