Browse Source

changed inset

pull/1/head
InKwon James Kim 5 years ago
parent
commit
320c89b54d
  1. 2
      GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift
  2. 42
      GME Remit/Modules/Home/User Interface/View/Home.storyboard

2
GME Remit/Modules/Home/User Interface/View/Cell/HomeCollectionTableViewCell.swift

@ -59,7 +59,7 @@ class HomeCollectionTableViewCell: UITableViewCell, UICollectionViewDelegateFlow
// Initialization code
self.collectionView.delegate = self
self.collectionView.dataSource = self
self.collectionView.contentInset = UIEdgeInsets(top: 20, left: 10, bottom: 20, right: 10)
self.collectionView.contentInset = UIEdgeInsets(top: 5, left: 10, bottom: 5, right: 10)
}
func setup() {

42
GME Remit/Modules/Home/User Interface/View/Home.storyboard

@ -51,7 +51,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Your document is in verification process. This will not take long. Thereafter you can enjoy GME online service." lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" minimumFontSize="8" translatesAutoresizingMaskIntoConstraints="NO" id="rwJ-pQ-p9z">
<rect key="frame" x="103" y="43" width="193" height="36"/>
<rect key="frame" x="103" y="43" width="193" height="35"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="10"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
@ -105,16 +105,16 @@
<rect key="frame" x="0.0" y="0.0" width="280" height="41"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="UhN-hW-Uy5">
<rect key="frame" x="52.5" y="0.0" width="175" height="20.5"/>
<rect key="frame" x="45" y="0.0" width="190" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="253" text="GME Wallet No." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PlM-0A-J0S">
<rect key="frame" x="0.0" y="2.5" width="85" height="16"/>
<rect key="frame" x="0.0" y="2.5" width="92.5" height="15.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="szL-3w-HfO">
<rect key="frame" x="90" y="0.0" width="85" height="20.5"/>
<rect key="frame" x="97.5" y="0.0" width="92.5" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="61m-n5-e9D"/>
</constraints>
@ -125,7 +125,7 @@
</subviews>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="N/A" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4hR-Ej-a4h">
<rect key="frame" x="130.5" y="20.5" width="19" height="20.5"/>
<rect key="frame" x="130" y="20.5" width="20.5" height="20.5"/>
<constraints>
<constraint firstAttribute="height" constant="20.5" id="xGW-Rc-wfd"/>
</constraints>
@ -139,19 +139,19 @@
<rect key="frame" x="0.0" y="56" width="280" height="60"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Ktu-2Y-ndo">
<rect key="frame" x="150.5" y="1.5" width="124.5" height="57"/>
<rect key="frame" x="150.5" y="2.5" width="124.5" height="55.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="253" text="Your Avaliable Balance" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xJH-zQ-Y2H">
<rect key="frame" x="21.5" y="0.0" width="82" height="31.5"/>
<rect key="frame" x="19.5" y="0.0" width="85.5" height="30.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Hk9-Sd-1vf">
<rect key="frame" x="41" y="36.5" width="43" height="20.5"/>
<rect key="frame" x="40" y="35.5" width="45" height="20"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="₩" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uBk-0o-Pgj">
<rect key="frame" x="0.0" y="0.0" width="14" height="20.5"/>
<rect key="frame" x="0.0" y="0.0" width="14" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="14" id="GU8-iC-ySW"/>
</constraints>
@ -160,7 +160,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="261" verticalHuggingPriority="251" text="N/A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M1e-cc-M1d">
<rect key="frame" x="16" y="0.0" width="27" height="20.5"/>
<rect key="frame" x="16" y="0.0" width="29" height="20"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
@ -178,19 +178,19 @@
</constraints>
</view>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="9Ft-mi-Ev0">
<rect key="frame" x="5" y="1.5" width="124.5" height="57"/>
<rect key="frame" x="5" y="2.5" width="124.5" height="55.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="253" text="Remaining Yearly Limit" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" minimumScaleFactor="0.84999999999999998" translatesAutoresizingMaskIntoConstraints="NO" id="IXG-rj-tyI">
<rect key="frame" x="29" y="0.0" width="66.5" height="31.5"/>
<rect key="frame" x="28.5" y="0.0" width="68" height="30.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="jPc-HT-RBJ">
<rect key="frame" x="44" y="36.5" width="37" height="20.5"/>
<rect key="frame" x="43" y="35.5" width="39" height="20"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="$" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NPb-J7-8vr">
<rect key="frame" x="0.0" y="0.0" width="8" height="20.5"/>
<rect key="frame" x="0.0" y="0.0" width="8" height="20"/>
<constraints>
<constraint firstAttribute="width" constant="8" id="lGf-6z-59b"/>
</constraints>
@ -199,7 +199,7 @@
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="261" verticalHuggingPriority="251" text="N/A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FSQ-xU-CsJ">
<rect key="frame" x="10" y="0.0" width="27" height="20.5"/>
<rect key="frame" x="10" y="0.0" width="29" height="20"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="17"/>
<color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/>
@ -255,10 +255,10 @@
<rect key="frame" x="0.0" y="0.0" width="217" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Bbu-MJ-HYv">
<rect key="frame" x="0.0" y="0.0" width="186" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="184.5" height="20"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Reward point: " textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rt7-Pa-xst">
<rect key="frame" x="0.0" y="0.0" width="186" height="20"/>
<rect key="frame" x="0.0" y="0.0" width="184.5" height="20"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/>
@ -267,16 +267,16 @@
</subviews>
</stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rcn-Ft-mI4">
<rect key="frame" x="188" y="0.0" width="29" height="20"/>
<rect key="frame" x="186.5" y="0.0" width="30.5" height="20"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="HCB-sr-BJo">
<rect key="frame" x="0.0" y="4" width="29" height="13.5"/>
<rect key="frame" x="0.0" y="4" width="30.5" height="13.5"/>
<subviews>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="aUP-ND-ctM">
<rect key="frame" x="0.0" y="0.0" width="29" height="13.5"/>
<rect key="frame" x="0.0" y="0.0" width="30.5" height="13.5"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="1000" verticalHuggingPriority="251" text="N/A" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="6" translatesAutoresizingMaskIntoConstraints="NO" id="qFV-c8-8UI">
<rect key="frame" x="5" y="0.0" width="19" height="13.5"/>
<rect key="frame" x="5" y="0.0" width="20.5" height="13.5"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="15" id="71F-b2-SSk"/>

Loading…
Cancel
Save