Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Move/Resize children only in parent boundaries.
Move/Resize children only in parent boundaries. [message #200534] Tue, 25 October 2005 09:40 Go to next message
Eclipse UserFriend
Originally posted by: fangrey.mail.ru

We must to put restrictions on a children behavior in our editor - child always must be in the parent's visible boundaries.
In other words - parent never has't scrollbars.
Did you get any ideas?
Re: Move/Resize children only in parent boundaries. [message #200542 is a reply to message #200534] Tue, 25 October 2005 12:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ingo.koch[nospam].sap.com

Adapt layout() of your favorite layoutmanager to your needs.
Implementing the required functionality in the change constraint command
or in the XYLayoutEditPolicy is not that good, because if you change the
parents bounds,
the childs won
Re: Move/Resize children only in parent boundaries. [message #200557 is a reply to message #200534] Tue, 25 October 2005 14:02 Go to previous message
Eclipse UserFriend
Originally posted by: fangrey.mail.ru

Thanx. It's exactly what I had in mind.
Previous Topic:Slider in GEF
Next Topic:drawRoundedRectangle doesn't work with AnitAlias activated
Goto Forum:
  


Current Time: Wed Nov 13 09:58:32 GMT 2024

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

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

Back to the top