Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ScrolledForm with TableViewer scroll problem
ScrolledForm with TableViewer scroll problem [message #335824] Sat, 02 May 2009 14:24 Go to next message
amay is currently offline amayFriend
Messages: 13
Registered: July 2009
Junior Member
I have a ScrolledForm with two table viewers (upper & lower). Both tables
should occupy 50-50 space in the height of the ScrolledForm.
Initially when the tables are empty it works well. But when the upper
table is loaded with data, it occupy entire space of the form and lower
table becomes invisible (have to scroll down the form to see that table).
I want to have vertical scroll on the tables (not on the form) so that
lower table will be visible.
I tried my best with several unsuccessful layout and layout data
combinations.
Any clues?

Thanks
Amay.
Re: ScrolledForm with TableViewer scroll problem [message #335825 is a reply to message #335824] Sat, 02 May 2009 15:46 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
Have you tried just using a vanilla Form for your outer container
instead of ScrolledForm?

-Ben

amay wrote:
> I have a ScrolledForm with two table viewers (upper & lower). Both
> tables should occupy 50-50 space in the height of the ScrolledForm.
> Initially when the tables are empty it works well. But when the upper
> table is loaded with data, it occupy entire space of the form and lower
> table becomes invisible (have to scroll down the form to see that table).
> I want to have vertical scroll on the tables (not on the form) so that
> lower table will be visible.
> I tried my best with several unsuccessful layout and layout data
> combinations.
> Any clues?
>
> Thanks
> Amay.
>
Re: ScrolledForm with TableViewer scroll problem [message #335848 is a reply to message #335825] Tue, 05 May 2009 11:33 Go to previous message
amay is currently offline amayFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Ben,
Thanks for the help. Yes, If I use only Form then my problem is solved. I
am getting exactly what I want.

But isn't it possible in ScrolledForm anyhow? because I am using core
architecture class from our development environment which provides all
default functionalities of a standard viewpart in our environment. And
this class by default creates ScrolledForm only. To convert it into Form,
I would have to override many functions.

Thanks again,
Amay.
Previous Topic:Creating IFile outside Eclipse
Next Topic:ContentOutline is not shown in Window menu
Goto Forum:
  


Current Time: Thu Apr 25 10:42:45 GMT 2024

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

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

Back to the top