Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic text field resize


rsharma

Recommended Posts

Facing an issue with dynamic textfield resize. To accomodate a large string we have to make the text box large enough so that data does not get truncated but when the datais small, it takes up entire text box area and creates blank spaces around.

Please let me know what am I missing, as there should be a way around it given such a common requirement.

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

can i do it somehow horizontal? I mean to have not such text:

------------

simple text|

to display |

vertical |

------------

 

 

 

but

 

----------------------------------

simple text to display horizontal|

----------------------------------

Link to comment
Share on other sites

  • 4 months later...
  • 3 years later...
  • 3 weeks later...

venkat562
Wrote:
 

Hi,

You can do one thing to resize dynamic field. open text field expression write as following "Include content"+ ${parameterName}.



Post Edited by venkat562 at 05/31/2011 15:11

Hi,

Thanks your idea, but what a pity, it does not work. I don't know whether I did't understand what your meaning is.

Thanks.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...

Suppose we have text as "Print this whole sentence in horizontal line". We have text box with stretch overflow option "yes" i.e checked.

If we print it comes like

---------------

print this whole

sentence in

horizontal line

-----------------------

But we have to print in single line like

-------------------------------------------------------

print this whole sentence in horizontal line

----------------------------------------------------------

The whole idea what we are looking for is, depends upon the maximum length of text (dyamic), the text box width should increase at max.

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...