gudluri Posted July 25, 2012 Share Posted July 25, 2012 Hi Friends,I have a Text Field.What happens now is, there is a huge gap between this Text Field and the next report element. I find out reason for that, That text filed occupied more space.My report looks like this(The name is a dynamic value) :SSS Reference# 8 | GeneratedOn 01/01/2012 I want to remove extra space space I am expecting out put is:SSS Reference# 8 | GeneratedOn 01/01/2012 Please see my code below.Please give solution for this.Thank you in advance. Code: Post Edited by gudluri at 07/25/2012 13:09Post Edited by gudluri at 07/25/2012 13:12 Link to comment Share on other sites More sharing options...
teodord Posted July 25, 2012 Share Posted July 25, 2012 Hi, It would be easier to understand your problem if you would upload some screenshots or drawings to explain.However, if I understood correctly, you want text fields from the right of the page to move towards the left, depending on the length of some string in between.This kind of movement is not possible in JR. Elements keep their declared width and their width cannot be dynamic. Instead, depending on the lenght of their content, text fields can grow in height. We call this stretching, to accomodate longer text that wraps on multiple lines. But I guess this is not what you need.A possible workaround for you would be to simply concatenate the several text involved in a single text field, using + in the text field expression. I hope this helps.Teodor 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