how to use Auto layout without direction only use padding
It’s not possible. That would effectively be the opposite of Auto.
What you can do is re-arrange the contents.
Or maybe there’s another way to solve your problem if there’s something else you have in mind. It would be easier to give advice if we would know what you want to accomplish.
Hi! I came across this thread while searching for another old thread, and I thought I might have a suggestion.
Group everything that you want padded, then wrap it with an auto layout frame. Since a group is only one object, the direction of the auto layout doesn’t matter, and the objects within the group are not affected by the auto layout because they’re one nested level deeper. Thus the auto layout only adds padding.
Still it would be easier to give better advice if we knew what you wanted to accomplish.