An auto-resizable collapsible compartment without scrollbars [message #230835] |
Wed, 20 May 2009 07:37 |
Javier Messages: 57 Registered: July 2009 |
Member |
|
|
Hello guys,
I have a compartment extending ShapeCompartmentEditPart, so it provides
an scrollbar. I'm using this kind of compartment because I want it to be
collapsible and to hide nodes-links inside it (using the
RefreshConnectionMgr).
I would like to remove the scrollbars and to make the compartment to
resize if I move a children outside of the actual bounds of the
compartment. This is the behavior performed by ShapeNodeEditParts that
may contain other elements.
I'm not sure what's the best solution for my case. I was trying to set
the visibility of the scroll to NEVER SHOW, in the
ShapeCompartmentFigure. But I don't know how to override the behavior in
which the compartment doesn't resize when moving a child, it seems that
an inside panel get resized, but the outside one doesn't.
Any hint?
Thanks for the help,
Javier.
|
|
|
Powered by
FUDForum. Page generated in 0.02503 seconds