1 Reply Latest reply: Jan 17, 2008 7:59 PM by Fesick RSS

    Report Builder Grid Size

    Fesick Community Member
      I have some reports that I'm updating that were originally designed with the CF7 related builds of Report Builder. Those builds had an option to change the grid spacing. The CF8 related build doesn't seem to have that option and none of my report objects are aligning to the default 1/10 inch setting. This is pretty annoying becuase I can't easily line everything up anymore and the default grid/snap is too large for my needs. I recall the old spacing setting didn't really make much sense, but at least you could find a setting that gave you a space smaller than 1/10 of an inch.

      Another thing I noticed, if you have 1 inch with 10 grid divisions, shouldn't the grid snap set objects at 1.0, 1.1, 1.2, ..., 1.9 inches? It is setting objects to 1.0, 1.0972, 1.1944, 1.2917, 1.3889, 1.5, 1.5972, 1.6944, 1.7917, 1.889, 2.0.

      Ideally, I'd like to snap to 1/16 of an inch. In the older version, I think I used to set the spacing value to "3", whatever that meant.

      Jason
        • 1. Re: Report Builder Grid Size
          Fesick Community Member
          I just figured out that the units and snap to grid stuff are converting everything to pixels behind the scenes based on 1 inch = 72 pixels.

          The grid spacing isn't 1.1, 1.2, etc since each division would then need to be 7.2 pixels (72/10). You can't have decimal values for pixels, therefore it rounds to 7 pixels. So when you snap to the first gridline to the right of a whole inch value, it's actually setting it to 7 of the 72 pixels in that inch making it 0.0972 (7/72).

          That explains the odd "3" spacing setting in the previous version... 3 pixels per grid line. That also explains why the grid never lined up with the ruler in some cases.

          So now that I'm understanding what's going on, being able to set the grid to 1/16 inch wouldn't really make much sense (4.5 pixels). I much prefer the CF7 version grids much more! Since it's going to round up or down to the nearest pixel anyways, the current gridlines would always be innacurate/misleading (unless it converted to a whole pixel value). So why not just keep the grid based on the true unit (pixels) and keep the ruler more for a general guide.

          (BUG): When you are zoomed in at 2x or 4x and scroll horizontally, the ruler doesn't move the same as the report. It's almost like it doesn't account for the zoom factor and moves based on 1x.

          BTW - Thanks for all the bug fixes and improvements on this latest version! Files over-writting each other and having to reformat all my texts whenever I moved them was driving me crazy.

          Jason