Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325932 - Table column 0: pack() packs too tight with default selection mode
Summary: Table column 0: pack() packs too tight with default selection mode
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-22 04:32 EDT by H. Niemann CLA
Modified: 2019-09-05 07:59 EDT (History)
1 user (show)

See Also:


Attachments
sample program (2.86 KB, text/plain)
2010-09-22 04:33 EDT, H. Niemann CLA
no flags Details
Screenshot of running sample app (20.16 KB, image/x-png)
2010-09-22 04:36 EDT, H. Niemann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description H. Niemann CLA 2010-09-22 04:32:24 EDT
Build Identifier: Build id: 20100617-1415

When I pack() the columns of a table that is created with SWT.NULL, the first column is too small and the longest texts get shortened ("table fl...").
Experiments show, that adding 2 to the width is sufficient.
(When I create the table with SWT.FULL_SELECTION, the pack() width of coumn 1 is much wider.)

Reproducible: Always

Steps to Reproduce:
see attached sample program
Comment 1 H. Niemann CLA 2010-09-22 04:33:53 EDT
Created attachment 179358 [details]
sample program
Comment 2 H. Niemann CLA 2010-09-22 04:36:08 EDT
Created attachment 179359 [details]
Screenshot of running sample app
Comment 3 Eclipse Genie CLA 2019-09-05 07:59:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.