Hi
Abhishek,
Did you set the height of the
stretchable field to match for the height of 3 rows?
It is
not really required. Just set the height required for single row and set the
stretch with overflow peoperty to true.
JR
automatically stretches the field height and
To my
knowledge it does not automatically shrink if you set the height of the field to
higher value and the data is short.
Regards,
Raffi
-----Original Message-----
From: Abhishek Soni [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 11:30 AM
To: jasperreports-questions@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] Stretch field is not working proper lyHi Mohammad Raffi,thanks very much for your reply.......i am using the PDF font helvatica. There are other text fields where i am using the same font and those are working fine(and for them stretchable is false). So i think that the font is not the problem. i guess only problem in the stretchable property.i am not saying that strechable property is not working ....it is working in case when three lines come dynamically. but in case of two lines of dynamic data it is getting stretched as per the three lines. where two line of text display with one line of blank space.i define the height of text as minimum as that Only one line of text data can be fitted. So in case of more than one line of data any how field will be stretched.so my concern is why it is displaying one blank line of space in case of two lines of data.it you say i will send you the screen shot of the PDF.thanksAbhishek Soni
On 6/9/06, S, Mohamed Raffi (Mohamed) <[EMAIL PROTECTED]> wrote:Don't use any font which is not available in Solaris. Use default fonts.Search the forum, there are mail mains related to this issues.-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]On Behalf Of Abhishek Soni
Sent: Friday, June 09, 2006 6:00 PM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] Stretch field is not working properlyHiI am facing one strange problem. I am setting the Stretch with overflow property True for a text field in my Report and it is working fine in local system. But when I am uploading the application in app server which is running on Unix machine (Sun Solaris) it is not working fine. I set the height of the text field 10 and width is 572 and font size is 8. The stretch with Overflow property is true. At run time it may have 2 or 3 line of text. But when 3 lines of text come, then it is stretch properly but when the two lines of text comes ..Still it display the three line of text size .in which it displays the one blank line space.As per the stretch functionality text should be fit into the text field it should not display the one blank lineWhy this difference in window machine (local) and UNIX machine. Do I have to set some property so it can work same in both of the machine.Please tell me.Waiting for your reply .thanks in advancedAbhishek Soni
_______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions