resizing shapes smaller than 8 pixels [message #75921] |
Thu, 17 April 2003 09:29  |
Eclipse User |
|
|
|
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 17:19  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02719 seconds