|
Re: ViewForm Troubles [message #464922 is a reply to message #464912] |
Thu, 01 December 2005 15:10 |
Eclipse User |
|
|
|
Originally posted by: friederich.kupzog.de
Hi, did you try to set a layout for your composite?
zinc wrote:
> Hi,
> I'm trying to use a ViewForm, and set its content to a table. But
> nothing appears when I do it.
>
> ViewForm vf = new ViewForm(parent, SWT.BORDER);
> Composite c1 = new Composite(vf, SWT.NONE);
> Tree tree = new TreeViewer(c1, SWT.SINGLE);
> vf.setContent(c1);
>
> But nothing appears in the ViewForm. If I don't use a viewform, the
> tree displays fine, any ideas why the problem?
>
> Thanks.
>
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel +49 241 9979356
Fax +49 221 726670
www.kupzog.de/fkmk
|
|
|
Powered by
FUDForum. Page generated in 0.02563 seconds