Copy link to clipboard
Copied
Hello,
I am having an issue where the drop shadow in an asset is not included in the Width and Height of the asset (the shadow makes it bigger).
See below, XD highlights the green outline as the size, but it has a black drop shadow to the bottom right, and white to the top left. The asset exports correctly to a larger object with the shadows included.
This is an issue as I need an accurate X and Y position to use the assets in programming external firmware.
Is there a way to set the asset up so the drop shadow becomes the outside perimeter?
thank you.
Copy link to clipboard
Copied
If you place an exported PNG where the button is exactly and group them, set the PNG opacity to zero, then turn into a component, you can get what you want - although this is not really a proper solution 🙁
Copy link to clipboard
Copied
Thanks for your help Kenneth - the work around achieved the result I needed.