mamaral / Neon

A powerful Swift programmatic UI layout framework.
MIT License
4.58k stars 389 forks source link

Offset layout question #26

Closed RayTao closed 8 years ago

RayTao commented 8 years ago

reloation How an I layout like the image? I think need xPad and yPad

mamaral commented 8 years ago

As of v0.2.0, which I just pushed, you now should be able to specify an offset param for all of the align methods. Let me know if that achieves what you're looking for!

mitch10e commented 8 years ago

I am unable to access the new code easily as the podspec file has not been updated to v0.2.0.

mamaral commented 8 years ago

@mitch10e I'll try and get that pushed ASAP.

mamaral commented 8 years ago

@mitch10e Try it now!