Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Fit children in parent
Fit children in parent [message #235046] Thu, 02 July 2009 05:18 Go to next message
Josip Maras is currently offline Josip MarasFriend
Messages: 41
Registered: July 2009
Member
Hi,

What would be the easiest way for a parent control to fit its children (no
scroll bar - a component has to have the height of the sum of heights of
its children)?

For example: my main diagram element is a component which has a
compartment, and in that compartment i store its children. If i add the
component to the diagram with only one click (so that it has the default
size) then the component re-sizes according to its children (the desired
functionality); but if i drag the contours of the component or change its
dimensions with a mouse then when adding new children the component
retains its dimensions and a scroll bar appears.

Thank you
Re: Fit children in parent [message #235445 is a reply to message #235046] Mon, 06 July 2009 16:00 Go to previous message
Josip Maras is currently offline Josip MarasFriend
Messages: 41
Registered: July 2009
Member
Hi,

Anybody??

Thanks
Previous Topic:Top Nodes with same class Element - no display at the creation
Next Topic:Copy / Paste in GMF
Goto Forum:
  


Current Time: Sat Apr 20 03:27:54 GMT 2024

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

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

Back to the top