Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
Fixed inaccurate/truncated display of karma points in Shop scene. Tex…
Browse files Browse the repository at this point in the history
…t size of pointsLabel made dynamic and its constraints updated. (#378)
  • Loading branch information
yugantarjain authored Mar 11, 2020
1 parent 614efd4 commit 90efd94
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Powerup/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,8 @@
<constraint firstAttribute="height" constant="40" id="lo6-Rh-vNp"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="18" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9IW-7K-Gls" userLabel="Karma Points Label">
<rect key="frame" x="75" y="25.5" width="11.5" height="24.5"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="10" translatesAutoresizingMaskIntoConstraints="NO" id="9IW-7K-Gls" userLabel="Karma Points Label">
<rect key="frame" x="70" y="25.5" width="33.5" height="24.5"/>
<fontDescription key="fontDescription" name="Montserrat-Bold" family="Montserrat" pointSize="20"/>
<color key="textColor" red="0.38069673900000001" green="0.59913557640000004" blue="0.69288374350000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
Expand Down Expand Up @@ -763,7 +763,7 @@
<rect key="frame" x="0.0" y="0.0" width="100" height="127"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="zvb-F1-HLk" userLabel="Display Image 2">
<rect key="frame" x="15" y="24" width="56" height="55"/>
<rect key="frame" x="15" y="23" width="56" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4cL-Bv-cLy" userLabel="Price Label 2">
Expand Down Expand Up @@ -820,7 +820,7 @@
<rect key="frame" x="0.0" y="0.0" width="100" height="127"/>
</imageView>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Srn-Qj-2cy" userLabel="Display Image 3">
<rect key="frame" x="15" y="24" width="56" height="55"/>
<rect key="frame" x="15" y="23" width="56" height="56"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bih-0W-rIU" userLabel="Price Label 3">
Expand Down Expand Up @@ -1173,9 +1173,9 @@
<constraint firstItem="de7-VX-YPL" firstAttribute="centerY" secondItem="uOc-oZ-NLG" secondAttribute="centerY" id="lcn-0X-bXk"/>
<constraint firstItem="Zb4-CC-Mbj" firstAttribute="centerY" secondItem="NR8-TQ-vgw" secondAttribute="centerY" id="nJ5-C6-bN7"/>
<constraint firstItem="0ZK-mD-cKM" firstAttribute="centerY" secondItem="NR8-TQ-vgw" secondAttribute="centerY" id="nwO-L5-aJW"/>
<constraint firstItem="JQp-zY-86c" firstAttribute="leading" secondItem="9IW-7K-Gls" secondAttribute="trailing" constant="47" id="pmL-iy-frL"/>
<constraint firstItem="JQp-zY-86c" firstAttribute="leading" secondItem="9IW-7K-Gls" secondAttribute="trailing" constant="30" id="pmL-iy-frL"/>
<constraint firstItem="NR8-TQ-vgw" firstAttribute="centerY" secondItem="k8w-Nb-jCO" secondAttribute="centerY" multiplier="1.18" id="sZb-MA-PpS"/>
<constraint firstItem="9IW-7K-Gls" firstAttribute="leading" secondItem="24j-Zk-rSY" secondAttribute="trailing" constant="15" id="slp-gg-z20"/>
<constraint firstItem="9IW-7K-Gls" firstAttribute="leading" secondItem="24j-Zk-rSY" secondAttribute="trailing" constant="10" id="slp-gg-z20"/>
<constraint firstItem="0A7-Zd-dwO" firstAttribute="leading" secondItem="k8w-Nb-jCO" secondAttribute="leadingMargin" constant="10" id="tej-Cq-MEH"/>
<constraint firstItem="NR8-TQ-vgw" firstAttribute="width" secondItem="k8w-Nb-jCO" secondAttribute="width" multiplier="0.6" id="uNi-cP-zpo"/>
<constraint firstItem="de7-VX-YPL" firstAttribute="centerX" secondItem="uOc-oZ-NLG" secondAttribute="centerX" multiplier="1.325" id="wND-ca-En7"/>
Expand Down

0 comments on commit 90efd94

Please sign in to comment.