blamblam Posted April 27, 2021 Share Posted April 27, 2021 Let's say I need to print the full name of a person. What I originally did was to separate the first name and last name into two elements and placed them side by side since they needed different styling (this is just an example):Lastname, FirstnameHowever, I found out after that I can't actually make their width dynamic because the developers made an effort not to allow it. So now I'm wondering if I can present the name with two different styles inside one element. Is this possible? How would I accomplish that? I hope you can help, thanks! Link to comment Share on other sites More sharing options...
Solution jgust Posted April 28, 2021 Solution Share Posted April 28, 2021 Yes, you can do this by setting the markup attribute on the text field or status text object.http://jasperreports.sourceforge.net/sample.reference/markup/ 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