2 Replies Latest reply on Feb 14, 2012 10:31 AM by TSGal

    Line dimension is 1 px off

    arnoldkegebein

      Summary

      Line dimension is 1 px off

      Product

      FileMaker Pro

      Version

      9, … 11

      Operating system version

      MacOS, Win

      Description of the issue

      A line (layout object) is calculated wrong. The dimensions are 1 px off.

      Steps to reproduce the problem

      (A)
      • Create a rectangle (any dimension).
      • Create a horizontal line.
      • Select both objects and resize their width (Arrange > Resize to > Smallest/Largest Width).
      • Allign both objects (Arrange > Align > Left edges)

      (B)
      • Create a line object with 45° angle with the dimension 7 x 7 px.
      • Duplicate the line object and rotate it by 90°.
      • Select both line objects and align them horizontal and vertical.
      • The Inspector will show the dimension of both object together as 7 x 7 px.
      • Group both objects. The values in the Inspector will change to 8 x 8 px.

      Expected result

      (A)
      Both objects should have the same width.

      (B)
      No changes in the dimension when you group both objects.

      Actual result

      (A)
      The line object is actual 1 px wider than the box.

      Remarks:
      1. The width shown in the Inspector for both objects are the same, still, the line is visually 1 px wider than the rectangle.
      2. When you drag the line object with the mouse, the Inspector will show a larger width (and height) for the line. It returns to the previous values when the mouse releases the line object.

      (B)
      Dimension change.

      Exact text of any error message(s) that appear

      No error message.

      Workaround

      Use 1 px wide rectangles for horizontal or vertical lines.

      No workaround for slanted lines.

        • 1. Re: Line dimension is 1 px off
          TSGal

          AKegebein:

          Thank you for your post, and I apologize for the late reply.

          Our Development and Testing departments are very aware of the first issue the 1 point lines being one pixel larger in length.  If you make the line have a width of 4 points, you will see the offset is even larger.  No other information is available at this time.

          I don't see any previous entry about grouping objects, but I am able to replicate the issue, so I have forwarded your post along with my findings to our Development and Testing departments for review.  I will keep you posted when information becomes available to me.

          TSGal
          FileMaker, Inc.

          • 2. Re: Line dimension is 1 px off
            TSGal

            AKegebein:

            Our Testing department was able to confirm the issue, and it has been sent to Development for further review.  No other information is available at this time.

            TSGal
            FileMaker, Inc.