Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [pde-dev] Eclipse Form with TableViewer scroll problem

You wrote Tree :D, but yes I've given the H_SCROLL and V_SCROLL in the sytle.

TableViewer tableviewer = new TableViewer( parent, SWT.H_SCROLL | SWT.V_SCROLL | toolkit.getBorderStyle( ) );
tableviewer.getTable( ).setLayoutData( new GridData( GridData.GRAB_VERTICAL | GridData.GRAB_HORIZONTAL | GridData.FILL_BOTH ) );

-----Original Message-----
From: pde-dev-bounces@xxxxxxxxxxx [mailto:pde-dev-bounces@xxxxxxxxxxx] On Behalf Of Sumitabh Kansal
Sent: 2005. november 7. 19:25
To: Eclipse PDE general developers list.
Subject: RE: [pde-dev] Eclipse Form with TableViewer scroll problem

Are you creating table viewer like this? 
m_Viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);


-----Original Message-----
From: pde-dev-bounces@xxxxxxxxxxx [mailto:pde-dev-bounces@xxxxxxxxxxx] On Behalf Of Krisztián Zsolt Sallai
Sent: Monday, November 07, 2005 12:24 PM
To: Eclipse PDE general developers list.
Subject: [pde-dev] Eclipse Form with TableViewer scroll problem

Hi all!

I have an Eclipse Form with two Sections. The first one is grabbing any excess space, and it contains a TableViewer. The second one is TWISTIE styled and it contains a FormText. My problem is that I can not force the table viewer scrollable. Always the entire form will be scrollable, not the table viewer. Using GridLayout I can solute for initial state, because in that time the table is empty. But changing the expanded state of the second section, the table will be as greater as it it's content and the antire form will be scrollable. Does anybody have any idea how can I solve this? 

Thanks for any help,
Krisz
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


Back to the top