Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » height/size of TableViewer within WizardDialog
height/size of TableViewer within WizardDialog [message #453826] Mon, 11 April 2005 14:43 Go to next message
kiran is currently offline kiranFriend
Messages: 15
Registered: July 2009
Junior Member
Hi,

Can anyone help me in having good look with WizardDialog features. I am
having two Pages in the Wizard and in the second Page, TableViewer is one
of the control. If the TableViewer input is having many rows the Wizard is
getting resized to show all the rows instead of certain size and
scrollbars. Because of this some of the controls which are added belows
the TableViewer are getting hidden.

I tried to set the size( Point ) on the Table from TableViewer but still
no change.

Thanks,
kiran
Re: height/size of TableViewer within WizardDialog [message #453907 is a reply to message #453826] Wed, 13 April 2005 17:33 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
In all likelihood, your TableViewer is inside a GridLayout. You need to
create GridData for the table and set some values

e.g.

GridData data = new GridData(SWT.LEFT, SWT.FILL, false, true);
data.heightHint = 100;
data.minimumHeight = 50;
tableViewer.getTable().setLayoutData(data);

"kiran" <bkiran123@yahoo.com> wrote in message
news:69a6e64221d149c2a7051e516e34ad8d$1@www.eclipse.org...
> Hi,
>
> Can anyone help me in having good look with WizardDialog features. I am
> having two Pages in the Wizard and in the second Page, TableViewer is one
> of the control. If the TableViewer input is having many rows the Wizard is
> getting resized to show all the rows instead of certain size and
> scrollbars. Because of this some of the controls which are added belows
> the TableViewer are getting hidden.
> I tried to set the size( Point ) on the Table from TableViewer but still
> no change.
>
> Thanks,
> kiran
>
Re: height/size of TableViewer within WizardDialog [message #453941 is a reply to message #453907] Thu, 14 April 2005 13:18 Go to previous message
kiran is currently offline kiranFriend
Messages: 15
Registered: July 2009
Junior Member
Giving the heightHint on the GridData worked. Thanks.
Previous Topic:Color Combobox - how to do ?
Next Topic:In every platform, can SWT display MS's icon file?
Goto Forum:
  


Current Time: Fri Apr 26 03:17:04 GMT 2024

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

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

Back to the top