Nice.That's how I did it so far, but how do I get this to work with the auto layout if I want to put everything on an 8px grid. Text, buttons, graphics
@gdwn__ Жыл бұрын
I also use auto layout and it works. I set my text line height to be divisible by 8. I also make sure the height of my cards are divisible by 8. For illustrations and graphics, I wrap them in a frame and make sure the frame height is divisible by 8. Then, when I use autolayout I also make sure the spacing and the padding values are divisible by 8. This might seem like a lot but you tend to get used to it and choosing your spacing value becomes a breeze. If you need more clarity on this, we could always connect on Twitter- @gdwn__