Draw2D zoom [message #135055] |
Sun, 30 May 2004 18:28  |
Eclipse User |
|
|
|
I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
I made some modifications to it by add a PageNode object (from
org.eclipse.draw2d.examples.tree).
I add:
PageNode allen=new PageNode("i am in ibm");
layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
contents.add(carmen);
When i try different zoom rate I noticed sometimes the last letter "m"
will get truncated.
Just wonderting whether anyone has some insight on this, and should I open
a bug?
|
|
|
Re: Draw2D zoom [message #135976 is a reply to message #135055] |
Thu, 03 June 2004 10:14   |
Eclipse User |
|
|
|
Hmm, this might have something to do with the changes that were made in
TextFlow (or maybe just a rounding error). Yes, please open a bug report
and attach your code (and possibly, a screenshot).
"Allen Wong" <ac4wong@uwaterloo.ca> wrote in message
news:c9dn6v$999$1@eclipse.org...
> I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
> I made some modifications to it by add a PageNode object (from
> org.eclipse.draw2d.examples.tree).
> I add:
> PageNode allen=new PageNode("i am in ibm");
> layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
> contents.add(carmen);
>
> When i try different zoom rate I noticed sometimes the last letter "m"
> will get truncated.
>
> Just wonderting whether anyone has some insight on this, and should I open
> a bug?
>
|
|
|
Re: Draw2D zoom [message #136534 is a reply to message #135976] |
Sun, 06 June 2004 13:39  |
Eclipse User |
|
|
|
I have a bug opened and closed [65185], which Randy explained it is
something they cannot control.
But if you can actually do something and fix this I will very much
appreciate. :)
Pratik Shah wrote:
> Hmm, this might have something to do with the changes that were made in
> TextFlow (or maybe just a rounding error). Yes, please open a bug report
> and attach your code (and possibly, a screenshot).
> "Allen Wong" <ac4wong@uwaterloo.ca> wrote in message
> news:c9dn6v$999$1@eclipse.org...
> > I am trying out the ZoomExample.java in org.eclipse.draw2d.examples.zoom.
> > I made some modifications to it by add a PageNode object (from
> > org.eclipse.draw2d.examples.tree).
> > I add:
> > PageNode allen=new PageNode("i am in ibm");
> > layout.setConstraint(carmen, new Rectangle(0,200 , -1, -1));
> > contents.add(carmen);
> >
> > When i try different zoom rate I noticed sometimes the last letter "m"
> > will get truncated.
> >
> > Just wonderting whether anyone has some insight on this, and should I open
> > a bug?
> >
|
|
|
Powered by
FUDForum. Page generated in 0.05238 seconds