This commit is contained in:
nixzhu
2015-08-20 17:29:15 +08:00
parent e11d1edfb0
commit d29c05d26d
3 changed files with 7 additions and 4 deletions
+4 -4
View File
@@ -23,12 +23,12 @@
</connections>
</scrollView>
<pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="3" translatesAutoresizingMaskIntoConstraints="NO" id="9Z8-B0-cVp">
<rect key="frame" x="168" y="577" width="39" height="37"/>
<rect key="frame" x="168" y="570" width="39" height="37"/>
</pageControl>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="c1Z-F1-RQr" customClass="BorderButton" customModule="Yep" customModuleProvider="target">
<rect key="frame" x="142" y="614" width="91" height="33"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<inset key="contentEdgeInsets" minX="10" minY="6" maxX="10" maxY="6"/>
<rect key="frame" x="134" y="607" width="107" height="40"/>
<fontDescription key="fontDescription" type="system" pointSize="16"/>
<inset key="contentEdgeInsets" minX="20" minY="10" maxX="20" maxY="10"/>
<state key="normal" title="Start Yep">
<color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
</state>
@@ -20,6 +20,8 @@ class ShowStepViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
titleLabel.textColor = UIColor.yepTintColor()
titleLabelBottomConstraint.constant = Ruler.match(.iPhoneHeights(20, 30, 30, 30))
subTitleLabelBottomConstraint.constant = Ruler.match(.iPhoneHeights(120, 140, 160, 180))
}
@@ -24,6 +24,7 @@ class ShowViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
finishButton.tintColor = UIColor.yepTintColor()
pageControlBottomConstraint.constant = Ruler.match(.iPhoneHeights(0, 10, 20, 30))
finishButtonBottomConstraint.constant = Ruler.match(.iPhoneHeights(20, 30, 40, 50))