File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- github "isair/ManualLayout" "0.2.0 "
1+ github "isair/ManualLayout" "0.2.1 "
Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ internal final class ExampleViewController: UIViewController {
3939
4040 override func viewWillLayoutSubviews( ) {
4141 titleLabel. sizeToFit ( )
42- titleLabel. top = 40
42+ titleLabel. top = top + 20
4343 titleLabel. centerX = view. centerX
4444 subtitleLabel. sizeToFit ( )
4545 subtitleLabel. top = titleLabel. bottom + 8
4646 subtitleLabel. centerX = view. centerX
4747 yinView. top = view. height / 2
4848 yinView. right2 = view. width
49- yinView. bottom2 = view . height
49+ yinView. bottom2 = bottom
5050 }
5151
5252 private func generateTextStyle( smaller: Bool = false ) -> [ NSObject : AnyObject ] {
You can’t perform that action at this time.
0 commit comments