Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Problem getting a Scrollable JFace TableViewer in a ViewPart View within a IPageLayout folder


Probably it's your layout code.  Try setting a heightHint on the grid data for the table.



"btf23" <bfrench@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

07/31/2004 10:50 AM

Please respond to
platform-swt-dev

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] Problem getting a Scrollable JFace TableViewer in a ViewPart View within a IPageLayout folder





Hello All,

I'm adding a View to a folder returned by the IPageLayout.createFolder
method. Within the view (extends ViewPart) I'm trying to place a
scrollable JFace TableViewer. The table displays nicely, except that
within the folder view the table is clipped and doesn't display a
scrollbar. I create the TableViewer with the  SWT.H_SCROLL|SWT.V_SCROLL
style. It seems that the TableViewer never gets an indication that it
needs to display any scrollbars.

What am I missing? Many thanks for your help.

-- Bernie

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top