Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331673 - Resizing a native header column show scrollbars
Summary: Resizing a native header column show scrollbars
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nebula (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Orme CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 09:28 EST by Christophe Fondacci CLA
Modified: 2021-07-05 11:39 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Fondacci CLA 2010-12-02 09:28:48 EST
Build Identifier: 1.0.0 (CVS HEAD checkout)

When using AbstractNativeHeader, resizing a column shows a horizontal scroll bar on the header during the resize (=while mouseDown). This is pretty ugly. The scrollbar disappear when the mouse button is released.

This bug might be a duplicate of 174469. I created a new one because the latter mentioned "initially shows scrollbar", but this is not what happens on Cocoa.


The fix is simple :
In the file AbstractNativeHeader, you have to replace line 61 from :
headerTable = new Table(this, SWT.NULL);

to :

headerTable = new Table(this, SWT.NO_SCROLL);

And it seems to fix the problem.

Reproducible: Always

Steps to Reproduce:
Run CompositeTableSnippet5 on linux gtk or Mac cocoa.
Resize a column.
Comment 1 Laurent CARON CLA 2019-04-28 12:01:16 EDT
Tried today on Ubuntu, no problem found.
Carbon is deprecated, so I close this bug.