Fix label size in iPhone because text did not fit the screen...
authorXavi Artigas <xartigas@fluendo.com>
Tue, 7 May 2013 09:57:07 +0000 (11:57 +0200)
committerXavi Artigas <xartigas@fluendo.com>
Tue, 7 May 2013 09:57:07 +0000 (11:57 +0200)
gst-sdk/tutorials/xcode iOS/Tutorial 1/en.lproj/MainStoryboard_iPhone.storyboard

index 49bfecf..4f755aa 100644 (file)
@@ -12,9 +12,9 @@
                         <rect key="frame" x="0.0" y="20" width="320" height="548"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
-                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cit-jt-jhM">
+                            <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Label" textAlignment="center" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="280" translatesAutoresizingMaskIntoConstraints="NO" id="Cit-jt-jhM">
                                 <constraints>
-                                    <constraint firstAttribute="height" constant="21" id="dt5-5x-Dso"/>
+                                    <constraint firstAttribute="height" priority="1" constant="21" type="user" id="dt5-5x-Dso"/>
                                 </constraints>
                                 <fontDescription key="fontDescription" type="system" pointSize="24"/>
                                 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>