Design Specs - Margins and measurments
I'm finding it hard to work with Design Specs in terms of margins and pixel distances in general. When I have a textbox and measure the edge of the type itself to the nearest point of margin (let's say the edge of a background) to 20px inside XD, when I publish that to Design Spec and take a look at how it specifies that very same distance, I rarely get the same result, its often 1px off in either direction. Also, sometimes I get these odd measurements like 20.5px etc. There are no half pixels so I wonder why this occurs? Is Xd measuring in DP? Is it some sort of pixel density thing? There's no difference if I switch to the pt or dp measurement, it still runs the distance with decimals. Same as when it's in px mode.
When I measure distance from text to another element inside XD, is it from the edge of the container or the text inside? There's always a gap between the text and text box holding the text, this occurs in both area text and point text.
