SwiftyOnboard icon indicating copy to clipboard operation
SwiftyOnboard copied to clipboard

Center Continue button instead of using left and right margins.

Open mpatzer opened this issue 7 years ago • 1 comments

The intention of the code seems to be to center the Continue button. This centers it without making it stretch to the edges. This way the button is the size of the text (as one might expect) and can be customized (custom background color, etc.) without having a very wide button.

If #20 gets merged, I'll update this to use margin.centerXAnchor instead of self.centerXAnchor.

mpatzer avatar Nov 29 '17 02:11 mpatzer

Resolved the conflict and updated to use margin.centerXAnchor.

mpatzer avatar Dec 08 '17 15:12 mpatzer