Scrollable Form not scrollable [message #461730] |
Wed, 28 September 2005 18:46 |
Eclipse User |
|
|
|
Originally posted by: mcheng.cisco.com
Hi,
I created a ScrolledForm in the createFormContent() in a form class derived
from FormPage. I then do the followings:
FormToolkit toolkit = managedForm.getToolkit();
ScrolledForm form = managedForm.getForm();
form.setAlwaysShowScrollBars(true);
form.setExpandHorizontal(true);
form.setExpandVertical(true);
Composite composite = form.getBody();
composite.setLayout(new GridLayout());
Then added sections and other widgets into the composite. The
horizonal/vertical toolbar were disabled but visible even though the
contents is bigger than the screen.
What else do I need to do to enable horizontal and vertical scroll bar in
the ScrolledForm?
Thanks,
Mike
|
|
|
Powered by
FUDForum. Page generated in 0.02363 seconds