Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » (Eclipse 3.1) Vertical Scrollbar on Tables problem
(Eclipse 3.1) Vertical Scrollbar on Tables problem [message #458438] Wed, 13 July 2005 18:25 Go to next message
Marc Robins is currently offline Marc RobinsFriend
Messages: 17
Registered: July 2009
Junior Member
Hello,
I have been developing a Plug-in on Eclipse 3.0 for several months now.
After changing to Eclipse 3.1, I realized a difference in the behavior of
the Table. With version 3.0 all I had to do was initialize the table like
so...

Table t1 = new Table(parent, SWT.FULL_SELECTION);
GridData data = new GridData(GridData.FILL_BOTH);
table2.setLayoutData(data);

Once the table had a sufficient number of items the vertical scrollbar would
appear. Now I find the vertical scrollbar does not appear when FILL_BOTH is
specified. I tried breaking it down to FILL_HORIZONTAL | FILL_VERTICAL and
it seems like FILL_HORIZONTAL works find once I've added enough columns to
the table.

Have the functionality of scrollbars in tables changed since Eclipse 3.0?
Or is this a bug?

-Marc
Re: (Eclipse 3.1) Vertical Scrollbar on Tables problem [message #458528 is a reply to message #458438] Thu, 14 July 2005 14:34 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Scroll bars in tables have not changed (much) but GridLayout has. Please
submit a bug report with the sample code that worked in 3.0 and fails in
3.1. Thanks!

"Marc" <marc.robins@gmail.com> wrote in message
news:db3md2$3e6$1@news.eclipse.org...
> Hello,
> I have been developing a Plug-in on Eclipse 3.0 for several months
now.
> After changing to Eclipse 3.1, I realized a difference in the behavior of
> the Table. With version 3.0 all I had to do was initialize the table like
> so...
>
> Table t1 = new Table(parent, SWT.FULL_SELECTION);
> GridData data = new GridData(GridData.FILL_BOTH);
> table2.setLayoutData(data);
>
> Once the table had a sufficient number of items the vertical scrollbar
would
> appear. Now I find the vertical scrollbar does not appear when FILL_BOTH
is
> specified. I tried breaking it down to FILL_HORIZONTAL | FILL_VERTICAL
and
> it seems like FILL_HORIZONTAL works find once I've added enough columns to
> the table.
>
> Have the functionality of scrollbars in tables changed since Eclipse 3.0?
> Or is this a bug?
>
> -Marc
>
>
>
Re: (Eclipse 3.1) Vertical Scrollbar on Tables problem [message #458582 is a reply to message #458528] Fri, 15 July 2005 21:50 Go to previous message
Marc Robins is currently offline Marc RobinsFriend
Messages: 17
Registered: July 2009
Junior Member
reported Bug #104116

"Steve Northover" <steve_northover@ca.ibm.com> wrote in message
news:db5t4r$faf$1@news.eclipse.org...
> Scroll bars in tables have not changed (much) but GridLayout has. Please
> submit a bug report with the sample code that worked in 3.0 and fails in
> 3.1. Thanks!
>
> "Marc" <marc.robins@gmail.com> wrote in message
> news:db3md2$3e6$1@news.eclipse.org...
>> Hello,
>> I have been developing a Plug-in on Eclipse 3.0 for several months
> now.
>> After changing to Eclipse 3.1, I realized a difference in the behavior of
>> the Table. With version 3.0 all I had to do was initialize the table
>> like
>> so...
>>
>> Table t1 = new Table(parent, SWT.FULL_SELECTION);
>> GridData data = new GridData(GridData.FILL_BOTH);
>> table2.setLayoutData(data);
>>
>> Once the table had a sufficient number of items the vertical scrollbar
> would
>> appear. Now I find the vertical scrollbar does not appear when FILL_BOTH
> is
>> specified. I tried breaking it down to FILL_HORIZONTAL | FILL_VERTICAL
> and
>> it seems like FILL_HORIZONTAL works find once I've added enough columns
>> to
>> the table.
>>
>> Have the functionality of scrollbars in tables changed since Eclipse 3.0?
>> Or is this a bug?
>>
>> -Marc
>>
>>
>>
>
>
Previous Topic:Typeahead in combo and list
Next Topic:Using new TreeViewer 3.1 - LabelProvider Problem
Goto Forum:
  


Current Time: Fri Apr 26 02:48:05 GMT 2024

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

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

Back to the top