Skip to content

Commit 3609241

Browse files
author
Stephanie Sharp
committed
Update layout of textfields in storyboard for new system font
1 parent ea395d9 commit 3609241

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

MaterialFormKitDemo/MaterialFormKitDemo/Base.lproj/Main.storyboard

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="7706" systemVersion="14E46" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9059" systemVersion="15B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
4+
<deployment identifier="iOS"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9049"/>
56
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
67
</dependencies>
78
<scenes>
@@ -18,15 +19,17 @@
1819
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1920
<subviews>
2021
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="some text" placeholder="placeholder" adjustsFontSizeToFit="NO" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Wbu-R9-PKC" customClass="MFTextField">
21-
<rect key="frame" x="16" y="160" width="568" height="40"/>
22+
<rect key="frame" x="20" y="160" width="560" height="40"/>
23+
<animations/>
2224
<fontDescription key="fontDescription" type="system" pointSize="20"/>
2325
<textInputTraits key="textInputTraits"/>
2426
<connections>
2527
<outlet property="delegate" destination="BYZ-38-t0r" id="sQf-86-yeo"/>
2628
</connections>
2729
</textField>
2830
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="placeholder" adjustsFontSizeToFit="NO" minimumFontSize="17" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="vrI-fI-vIo" customClass="MFTextField">
29-
<rect key="frame" x="16" y="100" width="568" height="40"/>
31+
<rect key="frame" x="20" y="100" width="560" height="40"/>
32+
<animations/>
3033
<constraints>
3134
<constraint firstAttribute="width" constant="280" id="UwL-Iq-bVI"/>
3235
</constraints>
@@ -43,12 +46,14 @@
4346
</connections>
4447
</textField>
4548
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="line" placeholder="Password" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="A1d-5c-S25" customClass="MFTextField">
46-
<rect key="frame" x="16" y="220" width="568" height="32.5"/>
49+
<rect key="frame" x="20" y="220" width="560" height="32.5"/>
50+
<animations/>
4751
<fontDescription key="fontDescription" type="system" pointSize="14"/>
4852
<textInputTraits key="textInputTraits" secureTextEntry="YES"/>
4953
</textField>
5054
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="number" textAlignment="right" adjustsFontSizeToFit="NO" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gNx-E7-aGq" customClass="MFTextField">
51-
<rect key="frame" x="16" y="20" width="568" height="60"/>
55+
<rect key="frame" x="20" y="20" width="560" height="60"/>
56+
<animations/>
5257
<fontDescription key="fontDescription" type="system" pointSize="37"/>
5358
<textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
5459
<connections>
@@ -57,6 +62,7 @@
5762
</connections>
5863
</textField>
5964
</subviews>
65+
<animations/>
6066
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
6167
<gestureRecognizers/>
6268
<constraints>

0 commit comments

Comments
 (0)