Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325932

Summary: Table column 0: pack() packs too tight with default selection mode
Product: [Eclipse Project] Platform Reporter: H. Niemann <Hartmut.Niemann>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Hartmut.Niemann
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
sample program
none
Screenshot of running sample app none

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.