CSLinearLayoutView icon indicating copy to clipboard operation
CSLinearLayoutView copied to clipboard

Vertical Align Buttons Inside View Starting From The Bottom

Open cblaze22 opened this issue 11 years ago • 3 comments

Is there a way to vertical align elements to the bottom of the view? Items added to the CSLinearLayoutView always start at the top.

cblaze22 avatar Sep 11 '14 20:09 cblaze22

It's not supported right now, but it probably wouldn't be too difficult to add. If you add the functionality feel free to send a pull request. I haven't been working on this much since most of the functionality can be done with autolayout now.

scalessec avatar Sep 11 '14 21:09 scalessec

Are you sure? I dont think autolayout can take dynamically created buttons and do that.

cblaze22 avatar Sep 11 '14 21:09 cblaze22

https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/AutoLayoutinCode/AutoLayoutinCode.html

scalessec avatar Sep 11 '14 21:09 scalessec