Squshing stuff together on designer and too much room on report
-
Friday, December 23, 2005 6:58 PM
In order to have the correct spacing between text lines on the report I have to have them overlap in the designer. It makes it tough to design and I get warnings about overlapping fields from VS. I've tried adjusting the font property to lessen space around the top and bottom for each control from the default of 2pts but I still have to crunch it together in the designer.
What am I doing wrong?
All Replies
-
Tuesday, December 27, 2005 7:33 PM
What about the style paddings properties? The default value is 2pt.
Thank you,
Nico
-
Tuesday, December 27, 2005 7:46 PMThat seems to have no affect. I'm not sure what that does. The space between each line on the report is a whole blank line. In Word, I can format the paragraph to have a certain number of points or whatever between lines (and paragraphs). I can't find that sort of stuff in ReportViewer. Probably because I'm looking in the wrong place.
-
Tuesday, December 27, 2005 8:00 PM
The space between 2 textboxes is something that you control at desing time and is not related in anyway with the font. Every text box has a bounding rectangle ( you should add a border style so it is more visible) and this can adjust its height at runtime based on the content when you set CanGrow/CanShrink properties.
If you are talking about the space between 2 lines of text (of the same text box), this can be controled through "line height" style attribute. However, this property is not supported by all our renderers.
Thank you,
Nico
-
Wednesday, December 28, 2005 2:44 PM
The space between two lines of text in a textbox is fine, no blank lines between them. But between two textboxes is where I'm having trouble. In the designer I have the textboxes overlapping and I still get a blank line between them on output.
I've managed to get the lines to print closer by setting the grid lines much smaller and even just setting the Top property of the textboxes closer to the one above it, but it results in the designer having the boxes so squished together that I can't even see what they are.

