Text wrap [message #142717] |
Wed, 14 July 2004 07:00 |
Eclipse User |
|
|
|
Originally posted by: josep.bsil.com
Hi ,
My figure class extends FlowPage.
When i set a text to the this using setText method
It is displaying the text but is not able to interpret
new line character,So all the text comes in one line.
In some PC it is working properly.
Can somebody help us to solve this.
Thanks in Advance,
Jose
|
|
|
|
Re: Text wrap [message #143020 is a reply to message #142944] |
Fri, 16 July 2004 16:40 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
That should matter. The maximum fragment size checks for newlines (unix,
windows, and mac forms) first. So the text fragment for a line does not
include the newline characters, which means that using stringExtend
shouldn't matter. I think Whitney or Eric wrote the newline support. Try
inserting newlines via the palette customizer.
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cd7rom$u3$1@eclipse.org...
> That's because GC.drawString() and stringExtent() are being using for
> TextFlow, instead of drawText() and textExtent(). Open a bug report.
>
> "Jose paul" <josep@bsil.com> wrote in message
> news:cd2lls$h2i$1@eclipse.org...
> > Hi ,
> >
> > My figure class extends FlowPage.
> > When i set a text to the this using setText method
> > It is displaying the text but is not able to interpret
> > new line character,So all the text comes in one line.
> >
> > In some PC it is working properly.
> >
> > Can somebody help us to solve this.
> >
> > Thanks in Advance,
> > Jose
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03215 seconds