I know the feature is fresh (XD 26), but it would be awesome being able to manipulate the padding values
For a group, or component, I would to get the margin properties through the API.
Use case 1
When working with design grids and consistant spacing values, a designer always end specifying the same values over and over (ie. 24px, 32px…). We could build plugins to ease the process.
Use case 2
As people start to use padding properties in their design, they will get used to the repositionning and automated resizing of buttons / boxes / container according to their content. Therefore, plugins that are used to create new elements to artboards (ie. buttons, form elements…) programatically will probably need to include padding properties to feature the same behaviour that people are getting used to have.
Use case 3
If you combine the access to padding properties with Responsive resizing properties (one of the most upvoted feature request here), you enable plugins to create programatically nice and useful objects, or that help giving a set of complex properties to user created objects or layouts with the click of 1 button in the plugin pannel.
I am sure there is much more ideas that can pop up from accessing those super cool properties.
Thanks! Please vote for this idea if you’re feelin’it
Edit : changed the term margins to padding since it’s the english terminology used in the UI (in french it’s translated to “marges”)