Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 426 Bytes

File metadata and controls

16 lines (11 loc) · 426 Bytes

MiddleAlignedButton CHANGELOG

1.0.0

Initial release.

1.1.0

  • Change MiddleAlignedButton subclass to UIButton (MiddleAlignedButton) category
  • Change imageEdgeInsets and titleEdgeInsets calculation from overriding layoutSubviews to middleAlignButtonWithSpacing:
  • Calculation algorithm tweak

1.1.1

  • Fixes the crash when UIButton has no title

1.1.2

  • Centering elements vertically and horizontally