Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [CompositeTable] - Resize of column causes scrollbar to appear in Header
[CompositeTable] - Resize of column causes scrollbar to appear in Header [message #599940] Sun, 11 July 2010 02:36 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: July 2010
Junior Member
Hi All,
I have recently started working with the awesome CompositeTable.

In linux, I am seeing the following behavior (using e.g.
CompositeTableSnippet5)

When I resize columns, there is a scrollbar that appears inside the
header row. This is happening in Linux only (*not* on Win7)

Can anyone pl let me know how this can be fixed?

Here are the *before* and *after* screenshots of this behavior

http://imgur.com/3jdGl.png

http://imgur.com/mfrUN.png
Re: [CompositeTable] - Resize of column causes scrollbar to appear in Header [message #642554 is a reply to message #599940] Wed, 01 December 2010 18:51 Go to previous messageGo to next message
Christophe Fondacci is currently offline Christophe Fondacci
Messages: 95
Registered: July 2009
Location: Paris
Member
Hi,

Did you found anything to overcome this problem ?
I got the exact same thing on MacOS X / Cocoa.

Thank you,
Christophe
http://www.nextep-softwares.com
Re: [CompositeTable] - Resize of column causes scrollbar to appear in Header [message #642561 is a reply to message #642554] Wed, 01 December 2010 19:08 Go to previous messageGo to next message
Christophe Fondacci is currently offline Christophe Fondacci
Messages: 95
Registered: July 2009
Location: Paris
Member
Actually the problem is easy to fix. I checked out the composite table project from CVS.

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 you will not see the scroll bar any more.


This would be great if someone could commit this fix. Until then, since this class has no internal dependency with compositetable you can simply copy the class in your own code, including this fix. I think this is simpler than recompiling the plugin...

Hope this helps,
Christophe
http://www.nextep-softwares.com

Re: [CompositeTable] - Resize of column causes scrollbar to appear in Header [message #642605 is a reply to message #642561] Wed, 01 December 2010 22:28 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5419
Registered: July 2009
Senior Member
Could you please file a bug and cc me on it

Tom
Am 01.12.10 20:08, schrieb Christophe Fondacci:
> Actually the problem is easy to fix. I checked out the composite table
> project from CVS.
> 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 you will not see the scroll bar any more.
>
>
> This would be great if someone could commit this fix. Until then, since
> this class has no internal dependency with compositetable you can simply
> copy the class in your own code, including this fix. I think this is
> simpler than recompiling the plugin...
>
> Hope this helps,
> Christophe
> http://www.nextep-softwares.com
>
>
Re: [CompositeTable] - Resize of column causes scrollbar to appear in Header [message #642732 is a reply to message #642605] Thu, 02 December 2010 14:32 Go to previous message
Christophe Fondacci is currently offline Christophe Fondacci
Messages: 95
Registered: July 2009
Location: Paris
Member
Done : https://bugs.eclipse.org/bugs/show_bug.cgi?id=331673

Thanks!
Previous Topic:download site not working
Next Topic:CalendarCombo fix / support
Goto Forum:
  


Current Time: Fri Oct 24 07:11:51 GMT 2014

Powered by FUDForum. Page generated in 0.01766 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software