Procházet zdrojové kódy

1.修改iOS Apex Mobile KPI在PieChart和Legend之间加入分割线。

Pen Li před 8 roky
rodič
revize
00fb985a00
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. 10 0
      Apex Mobile/Apex Mobile/KPICell.xib

+ 10 - 0
Apex Mobile/Apex Mobile/KPICell.xib

@@ -36,6 +36,13 @@
                         <nil key="textColor"/>
                         <nil key="textColor"/>
                         <nil key="highlightedColor"/>
                         <nil key="highlightedColor"/>
                     </label>
                     </label>
+                    <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="a6h-Xx-SRY">
+                        <rect key="frame" x="0.0" y="346" width="374" height="0.5"/>
+                        <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/>
+                        <constraints>
+                            <constraint firstAttribute="height" constant="0.5" id="OIu-b4-mTn"/>
+                        </constraints>
+                    </view>
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cNx-fI-aaf">
                     <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cNx-fI-aaf">
                         <rect key="frame" x="0.0" y="349" width="374" height="178"/>
                         <rect key="frame" x="0.0" y="349" width="374" height="178"/>
                         <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                         <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
@@ -97,6 +104,7 @@
                 </subviews>
                 </subviews>
             </view>
             </view>
             <constraints>
             <constraints>
+                <constraint firstItem="a6h-Xx-SRY" firstAttribute="width" secondItem="yQd-oN-lqq" secondAttribute="width" id="1j0-9h-fpa"/>
                 <constraint firstItem="dQH-Y6-C7B" firstAttribute="leading" secondItem="wNu-As-NAS" secondAttribute="leading" constant="5" id="2lM-L4-c8U"/>
                 <constraint firstItem="dQH-Y6-C7B" firstAttribute="leading" secondItem="wNu-As-NAS" secondAttribute="leading" constant="5" id="2lM-L4-c8U"/>
                 <constraint firstItem="qDo-7x-vmB" firstAttribute="centerX" secondItem="wNu-As-NAS" secondAttribute="centerX" id="4Iw-M0-rdd"/>
                 <constraint firstItem="qDo-7x-vmB" firstAttribute="centerX" secondItem="wNu-As-NAS" secondAttribute="centerX" id="4Iw-M0-rdd"/>
                 <constraint firstItem="aQn-Wp-hiD" firstAttribute="bottom" secondItem="qDo-7x-vmB" secondAttribute="bottom" id="5dl-lV-vzu"/>
                 <constraint firstItem="aQn-Wp-hiD" firstAttribute="bottom" secondItem="qDo-7x-vmB" secondAttribute="bottom" id="5dl-lV-vzu"/>
@@ -108,10 +116,12 @@
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="top" secondItem="qDo-7x-vmB" secondAttribute="top" id="Egk-uA-8J6"/>
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="top" secondItem="qDo-7x-vmB" secondAttribute="top" id="Egk-uA-8J6"/>
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="width" secondItem="aQn-Wp-hiD" secondAttribute="width" id="F0L-mr-btU"/>
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="width" secondItem="aQn-Wp-hiD" secondAttribute="width" id="F0L-mr-btU"/>
                 <constraint firstItem="aQn-Wp-hiD" firstAttribute="leading" secondItem="wNu-As-NAS" secondAttribute="leading" constant="5" id="J09-K9-9jr"/>
                 <constraint firstItem="aQn-Wp-hiD" firstAttribute="leading" secondItem="wNu-As-NAS" secondAttribute="leading" constant="5" id="J09-K9-9jr"/>
+                <constraint firstItem="yQd-oN-lqq" firstAttribute="top" secondItem="a6h-Xx-SRY" secondAttribute="bottom" constant="2.5" id="KYN-Ob-x6c"/>
                 <constraint firstItem="cNx-fI-aaf" firstAttribute="top" secondItem="qDo-7x-vmB" secondAttribute="bottom" constant="5" id="NJr-5v-JEP"/>
                 <constraint firstItem="cNx-fI-aaf" firstAttribute="top" secondItem="qDo-7x-vmB" secondAttribute="bottom" constant="5" id="NJr-5v-JEP"/>
                 <constraint firstItem="Pvj-cB-Lb5" firstAttribute="height" secondItem="nC2-JE-lDf" secondAttribute="height" id="OXa-7y-Oej"/>
                 <constraint firstItem="Pvj-cB-Lb5" firstAttribute="height" secondItem="nC2-JE-lDf" secondAttribute="height" id="OXa-7y-Oej"/>
                 <constraint firstItem="qDo-7x-vmB" firstAttribute="top" secondItem="lb6-Vw-PFH" secondAttribute="bottom" constant="4" id="OYy-4x-NCk"/>
                 <constraint firstItem="qDo-7x-vmB" firstAttribute="top" secondItem="lb6-Vw-PFH" secondAttribute="bottom" constant="4" id="OYy-4x-NCk"/>
                 <constraint firstItem="Pvj-cB-Lb5" firstAttribute="centerY" secondItem="nC2-JE-lDf" secondAttribute="centerY" id="OdC-Z4-u8a"/>
                 <constraint firstItem="Pvj-cB-Lb5" firstAttribute="centerY" secondItem="nC2-JE-lDf" secondAttribute="centerY" id="OdC-Z4-u8a"/>
+                <constraint firstItem="a6h-Xx-SRY" firstAttribute="leading" secondItem="yQd-oN-lqq" secondAttribute="leading" id="P2X-py-xSN"/>
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="bottom" secondItem="qDo-7x-vmB" secondAttribute="bottom" id="RlI-BI-dxq"/>
                 <constraint firstItem="d9V-2s-nfa" firstAttribute="bottom" secondItem="qDo-7x-vmB" secondAttribute="bottom" id="RlI-BI-dxq"/>
                 <constraint firstItem="yQd-oN-lqq" firstAttribute="centerX" secondItem="cNx-fI-aaf" secondAttribute="centerX" id="V3A-Mm-ru4"/>
                 <constraint firstItem="yQd-oN-lqq" firstAttribute="centerX" secondItem="cNx-fI-aaf" secondAttribute="centerX" id="V3A-Mm-ru4"/>
                 <constraint firstAttribute="bottom" secondItem="cNx-fI-aaf" secondAttribute="bottom" id="WmE-Ea-0kU"/>
                 <constraint firstAttribute="bottom" secondItem="cNx-fI-aaf" secondAttribute="bottom" id="WmE-Ea-0kU"/>