Skip to main content



      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 05: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 08: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 10: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: Thu May 01 17:34:59 EDT 2025

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

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

Back to the top