• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Text field margins are different in Mac and Windows!

New Here ,
Jun 16, 2020 Jun 16, 2020

Copy link to clipboard

Copied

I just noticed that the distance between the text field in a button and the edges of the buttons differens depending on the device you are using!?

 

As an example of one button:

My designer have 18pts margin up and down, and 107pts to the left side

On my Mac I have 21pts up and 18 down, and 105 to the left side

On my Windows I have 16 pts up and 18 pts down, and 113 to the left side

 

The font used is SF Pro Text so should be a fairly common font.. 🙂

We are using the Point Text. And you can see that the area around the text is different in each case.

This is causing a lot of issues trying to center align the text on some device and it looks bad on another device.

 

Is this a bug you are working on fixing in XD or is there some way I can work around this?

 

Views

235

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 23, 2020 Jun 23, 2020

Generally text is rendered differently between OS/devices/browsers and it's not a XD specific issue. Having said that I think XD can be improved by eliminating the "buffer" area from text box: https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/12939972-snap-text-box-edges-to-edge-of-text (this unfortunately marked as "completed", which is wrong.) You can outline the text to solve this but that may not be a solution for you.

(BTW SF is a macOS system font.)

Votes

Translate

Translate
Community Expert ,
Jun 23, 2020 Jun 23, 2020

Copy link to clipboard

Copied

LATEST

Generally text is rendered differently between OS/devices/browsers and it's not a XD specific issue. Having said that I think XD can be improved by eliminating the "buffer" area from text box: https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/12939972-snap-text... (this unfortunately marked as "completed", which is wrong.) You can outline the text to solve this but that may not be a solution for you.

(BTW SF is a macOS system font.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines