Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-6622

account for ActualRenderBounds when assigning X,Y to PNGs

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • QDS 4.3.2
    • QDS 3.2
    • Qt-Bridge-Figma
    • None
    • All

      https://www.figma.com/plugin-docs/api/FrameNode/#absoluterenderbounds

       

      I have a custom control I am making.  The background is several shapes that have their own drop shadows.  The drop shadows are included in the PNG size but not in the Figma file x,y.  This causes every single exported PNG with a drop shadow to offset out of position based on the size of the drop shadow. 

       

      I believe it's possible for us to account for this change by subtracting the x,y value of the drop shadow effect from the x,y value of the node being exported.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            algerman Aleksei German
            peter.rohles Peter Rohles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes