Skip to main content
juan estebans86871487
Participant
July 4, 2020
Answered

Margins in components

  • July 4, 2020
  • 1 reply
  • 1043 views

Im fan of this software and I usually think how can it be better, I think one of this ideas can be to build the possibility to make margins in the components, if you have a Text style I want to have the possibility to introduce de amount of bottom margin, for example the magin betwen the <h1> and <p>, thats could be prety awesome!

This topic has been closed for replies.
Correct answer HARSHIKA_VERMA

Hi Juan,

 

Thank you for reaching out and sharing your feedback. I found a similar request that has been raised here: https://adobexd.uservoice.com/forums/353007/suggestions/12926715. Please upvote the request and submit your feedback.

 

Thanks, DSTOIC for your contribution to the post.

 

Thanks,

Harshika

1 reply

Spas K.
Community Expert
Community Expert
July 5, 2020

The effect you are looking for can be achieved with the new stacks feature, where you can adjust spacing (margins) between elements within a group, individually or simultaneously: https://www.youtube.com/watch?v=xGAUAIPjl78

 

You can't really set margins per element, as they would affect other elements, which isn't applicable in the way Xd works. It's not a graphic HTML/CSS editor like Webflow. You can add paddings, which in combination with stacks give you enough control and it's pretty much the same as paddings/margins in CSS.

juan estebans86871487
Participant
July 13, 2020

That´s only works with components and groups, I aks for the text styles possibility. Thanks for comment, your answer is a good one but I want a little bit more. 🙂

HARSHIKA_VERMA
Community Manager
HARSHIKA_VERMACommunity ManagerCorrect answer
Community Manager
July 29, 2020

Hi Juan,

 

Thank you for reaching out and sharing your feedback. I found a similar request that has been raised here: https://adobexd.uservoice.com/forums/353007/suggestions/12926715. Please upvote the request and submit your feedback.

 

Thanks, DSTOIC for your contribution to the post.

 

Thanks,

Harshika