[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] composite and H/V_SCROLL
|
I didn't look at the code so I hope
I am right in guessing that you need to use org.eclipse.swt.custom.ScrolledComposite.
All the style bits do is ask for scroll bars. Subclasses can
they access them and implement scrolling. That's what ScrolledComposite
is doing.
"Carmelo Scala"
<carmeloscala@xxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
02/23/2005 10:36 AM
Please respond to
platform-swt-dev |
|
To
| <platform-swt-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| [platform-swt-dev] composite
and H/V_SCROLL |
|
Hello to all,
Hope someone of you can point me to the right direction.
I'm quite new to swt/jface and probably I'm doing wrong keeping thinking
in
Swing.
What I'm trying to create is a tabbed pane with few editor components (using
a FormLayout) inside.
It looks ok but I'm not able to bring the form to be scrollable inside
the
tab area.
Note: the tab viewport (sorry for the swing terminology) need to be
scrollable because one of the "editors" need to displays a lot
of fields and
the only thing I can able to get is some fake scrollbar that doesn't scroll
the view port at all.
Here is the code I'm using.
java -classpath
c:\eclipse\swt\swt.jar;.;c:\eclipse\plugins\org.eclipse.jface_3.0.0\jface.jar;c:\eclipse\plugins\org.eclipse.core.runtime_3.0.1\runtime.jar
WidgetWindow
Thanks in advance.
Kar
Attachment:
MethodEditor.java
Description: Binary data
Attachment:
WidgetWindow.java
Description: Binary data