Define maximum/minimum element height/width when padding is on
When padding is on and you move some elements, the width/height of the grou changes. It's a problem when you want to for example have specific width of the element (i.e. background shoud be 1920px wide or button should be 48px in height, when you turn on padding and change font size your button is not 48px anymore).
I supported this as well, I think it is an important feature to have!
[Deleted User] commented
For this one it also might be useful for status badge, and buttons very common element for the interfaces
Richard Cote commented
Bump and a +1.
How an object behaves in a limited amount of space is a fundamental principle in layout design.
Moreover, CSS allots for this with min- and max- (and overflow) constraints.
It is therefore major oversight that XD does not currently allow the user to easily scrub through designs with these considerations in mind.
Graeme Fairholm commented
We need minimum widths on our XD button components to match our design specifications.
Adam Trabold commented
Yes! I may be misunderstanding how to use it, but this has been a major headache for us, as I know the power of padding and responsive resize, but just can't really use it in practice on anything but buttons.
My specific case example is a form input — they flex in size, but never based on the content. The content *always* has padding around it, but should respect a max-width, and only expand in the directions I want it to...sometimes down, sometimes not at all. Solving this would be *incredible*.