augarte Posted May 24, 2011 Share Posted May 24, 2011 I have a report with a title, and some content in the detail band. The only content I'm adding in the detail band is a Parameter value printed as a TextField. The problem is that the detail band has a fix width and depending on the content of the parameter I need it to be larger or smaller. I have tried setting "net.sf.jasperreports.print.keep.full.text" to true but is not working. If the content of the textField is larger than the detail width it truncates the content. Does anyone know how to achieve that?I attach the jrxml and the resultant reportThanks in advance. Best regards Link to comment Share on other sites More sharing options...
patobarrientos Posted May 24, 2011 Share Posted May 24, 2011 Hi.Did you check the "Stretch With Overflow" option on parameter properties?Cheers! Link to comment Share on other sites More sharing options...
augarte Posted May 24, 2011 Author Share Posted May 24, 2011 Hi Pato, Thanks for your anwer. I have checked the parameter properties and I don't find "Stretch with Overflow" option for any parameter. It could be because I'm using an older version of ireport? Actually I'm using 3.5.0. The properties I can set for the parameter are the following ones: - Name- Parameter Class- Use as prompt- Default Value Expression- Description- Properties Thanks agains. Regards! Link to comment Share on other sites More sharing options...
augarte Posted May 24, 2011 Author Share Posted May 24, 2011 Hi again!I've tried setting "Stretch with Overflow" to the textfield and it works!!! Thanks for your help!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now