|
Re: Scrollbar not appearing at startup [message #534220 is a reply to message #534184] |
Tue, 18 May 2010 12:03 |
Geejay Messages: 160 Registered: February 2010 |
Senior Member |
|
|
Using:
Composite formBody = form.getBody();
formBody.setLayout(new TableWrapLayout());
solves the problem. Maybe when dealing with forms, the most natural layout
is the TableWrapLayout, makes sense, as the Forms UI is meant to resemble
HTML.
"geejay" <gjmcknight@schlagundrahm.ch> wrote in message
news:hstpbd$va7$1@build.eclipse.org...
> Hello peoples,
>
> I have a ScrolledForm, and a number of nested Sections (with FillLayouts),
> which have nested Composites with GridLayouts.
>
> At the start of the app, the editor appears without a vertical scrollbar,
> even though the content of the editor is way past the bottom of the
> visible area.
>
> When I hide the top section, and re-expand it, then the vertical scroll
> bar appears on the editor.
>
> Am I building this form wrong? Would it be better to use TableWrapLayout?
> Any ideas as to why the vertical scroll bar doesn't appear after the form
> is initially rendered?
>
> Thanks
>
> Greg
|
|
|
Powered by
FUDForum. Page generated in 0.02911 seconds