Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » elements dragged out of border
elements dragged out of border [message #156679] Mon, 22 October 2007 15:31 Go to next message
Eclipse UserFriend
Originally posted by: exquis.nospam.com

Hi All,

I am facing this problem where when I drag an item out of the boundary of
parent container, the item as well as its connections with other child
items becomes invisible. Two small arrows comes in the corner to show that
you can scroll but its kind of confusing as I am not sure how many people
will see those small arrows in the corner. I am looking for a solution
where when I drag the child item out of the parent boundary and parent
border should also stretch and allow child item to visible inside it,
istead of getting disappeared. What should be the approach for this.
Re: elements dragged out of border [message #156710 is a reply to message #156679] Mon, 22 October 2007 17:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: exquis.nospam.com

Let me explain more accurately. I want to stop user from resizing the
parent container if because of resizing any child element getting hidden.
I think that way the problem will be resolved. How can I enforce this.
Re: elements dragged out of border [message #157351 is a reply to message #156710] Fri, 26 October 2007 19:38 Go to previous message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
Hello,

Does the parent container resize itself to the size you want when you
press the Autosize button? If so, you could leave the parent container
in autosize mode always (that is, the bounds constraint should have a
size of (-1,-1)) and remove the resizable editpolicy.

Regards,
Cherie

exquis wrote:
> Let me explain more accurately. I want to stop user from resizing the
> parent container if because of resizing any child element getting
> hidden. I think that way the problem will be resolved. How can I enforce
> this.
>
Previous Topic:How to create a simple schematic editor
Next Topic:Placement of Connector Label
Goto Forum:
  


Current Time: Tue Jul 16 13:01:54 GMT 2024

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

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

Back to the top