ndipiazza Posted December 19, 2014 Share Posted December 19, 2014 I have headers/details in the jasper reports studio. everything about this works wonderful minus one annoying thing I have to constantly line up the column headers with the details to make the alignments act correctly... even though i match the alignment exactly in the designer. This is probably because I have a different font style on Header versus detail... or something? I'm not sure. I can workaround the issue by manually tweaking X-coords, export the report, make sure they line up, until it looks nice... resulting in a designer like this: Shows the issue with alignment of header versus column: Notice how I moved the values in the Detail 1 band to the left so that the report with actual values lines up the columns correctly. I must just be doing something wrong right? Why do I have to do this manual tweak to get things to look ok? Link to comment Share on other sites More sharing options...
wolverto_1 Posted December 19, 2014 Share Posted December 19, 2014 When creating your header fields, copy them down to your detail band so they're using the same size. I can see from your screenshot there is no consistency. Make sure your data fields don't have white space. To make the reports look presentable, manual input will always be required. Link to comment Share on other sites More sharing options...
ndipiazza Posted December 19, 2014 Author Share Posted December 19, 2014 can make this an answer if you want. I'll start working on it and comment on your answer if i have questions. Sound good? Link to comment Share on other sites More sharing options...
ndipiazza Posted December 19, 2014 Author Share Posted December 19, 2014 Wolverto_1: The screenshot is all funn looking because I had to hand adjust each X coordinate so that the data would line up. i will try your suggestion to see if it will help. Link to comment Share on other sites More sharing options...
jbenway Posted December 24, 2014 Share Posted December 24, 2014 Is the text in the fields left aligned or center aligned? Is there any padding set on some fields and not others? Check for padding under "borders" and look at line spacing, alignment, spacing before, etc on Textfield. Make sure they are all the same. Link to comment Share on other sites More sharing options...
ndipiazza Posted April 12, 2015 Author Share Posted April 12, 2015 Here is the JRXML source: http://pastebin.com/n8bP228F# Do you have any ideas how I might be able to fix this? I'm at a loss. 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