Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » resizing shapes smaller than 8 pixels
resizing shapes smaller than 8 pixels [message #75921] Thu, 17 April 2003 13:29 Go to next message
Eclipse UserFriend
Originally posted by: junost.gmx.de

Hello

I found out that it isn't possible to change the size of shapes smaller than
8 pixels in width or height. You can see it e.g. in the shapes-example.
But in my project I need to resize my shape to smaller width/height.
How can I solve this problem?

Alexander M
Re: resizing shapes smaller than 8 pixels [message #75949 is a reply to message #75921] Thu, 17 April 2003 21:19 Go to previous message
Eric Bordeau is currently offline Eric BordeauFriend
Messages: 259
Registered: July 2009
Senior Member
This comes from XYLayoutEditPolicy.getMinimumSizeFor(GraphicalEditPart),
which provides a default 8x8 minimum size. In your subclass, you can
override this method to return a minimum size appropriate for your
application.

Eric

Alexander Müller wrote:
> Hello
>
> I found out that it isn't possible to change the size of shapes smaller than
> 8 pixels in width or height. You can see it e.g. in the shapes-example.
> But in my project I need to resize my shape to smaller width/height.
> How can I solve this problem?
>
> Alexander Müller
>
>
Previous Topic:Auto-positioning nodes in the root edit part
Next Topic:newbie
Goto Forum:
  


Current Time: Thu Nov 21 12:27:37 GMT 2024

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

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

Back to the top