Problem with getText() in TextShape class

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
vijay
Newbie
Newbie
Posts: 15
Joined: Mon Jun 07, 2010 12:00 am

Problem with getText() in TextShape class

Post by vijay » Fri Sep 10, 2010 9:01 am

Hello Yeray,

thank you for your response.

We had a problem with AxisTitle in some systems,we are getting extra character (empty space).
we debugged the code found that there is problem with getText() method in TextShape class.

Previous code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("crlf"), lines);
}


corrected code
public String getText() {
return (getLinesLength() == 0) ? "" : stringJoin(Language.getString("LineSeparator"), lines);
}


replacing crlf with LineSeparator is take care everywhere,but in above method it has to be changed LineSeparator .
please have a look and take care in next release.

Thanks,
Vijaya Raghava Rao

Yeray
Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problem with getText() in TextShape class

Post by Yeray » Mon Sep 13, 2010 3:36 pm

Hi Vijaya,

I've made the proposed change in the actual sources so the next maintenance release will include your suggestion.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply