draw2d ScrollPane and resizing [message #247897] |
Tue, 24 March 2009 18:04 |
Eclipse User |
|
|
|
Hallo all,
I'm a newbie to Draw2d and I got a question concerning
ScrollPane, Viewport and resizing of children figures:
The goal is to have a scrollable client area which can
hold any number of figures. These figures may change in size
and position over time, so the scroll bars should adapt
automatically (or even disappear if the client area is small
enough)
I have managed to create a ScrollPane with its ViewPort and place
my Figures inside it. The application displays
the scrollbars, and the client area is perfectly scrollable.
So far so good.
But how do I do the resizing-thing? Any help of code snipplets would
be highly appreciated.
Thanks,
Toby
|
|
|
Powered by
FUDForum. Page generated in 0.06091 seconds