Skip to main content



      Home
Home » Eclipse Projects » GEF » Force Minimum Figure Size on Resize?
Force Minimum Figure Size on Resize? [message #147127] Tue, 10 August 2004 14:19 Go to next message
Eclipse UserFriend
Originally posted by: grant.hodgins.maketechnologies.com

What would be the best way to force a minimum figure size on resize of the
figure?

For example, the ghost resize object will freeze at the point of the minimum
size. The minimum size, in my case, can be derived from teh preferred size.

Thanks in advance!

Grant
Re: Force Minimum Figure Size on Resize? [message #147135 is a reply to message #147127] Tue, 10 August 2004 14:54 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

See XYLayoutEditPolicy#getMinimumSizeFor(GraphicalEditPart)
"Grant Hodgins" <grant.hodgins@maketechnologies.com> wrote in message
news:cfb3ed$uui$1@eclipse.org...
> What would be the best way to force a minimum figure size on resize of the
> figure?
>
> For example, the ghost resize object will freeze at the point of the
minimum
> size. The minimum size, in my case, can be derived from teh preferred
size.
>
> Thanks in advance!
>
> Grant
>
>
Previous Topic:Simpler Example
Next Topic:Resizing the Canvas when scrolling
Goto Forum:
  


Current Time: Tue Jul 15 03:04:36 EDT 2025

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

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

Back to the top