Skip to main content



      Home
Home » Eclipse Projects » GEF » draw2d ScrollPane and resizing
draw2d ScrollPane and resizing [message #247897] Tue, 24 March 2009 18:04
Eclipse UserFriend
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
Previous Topic:Flyout palette customization
Next Topic:[Announce] GEF 3.5.0 I200903161158 is available
Goto Forum:
  


Current Time: Sun Mar 16 23:10:37 EDT 2025

Powered by FUDForum. Page generated in 0.06091 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top