Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Force Minimum Figure Size on Resize?
Force Minimum Figure Size on Resize? [message #147127] Tue, 10 August 2004 18: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 18: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: Sun Jan 19 19:44:41 GMT 2025

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

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

Back to the top