Sfoglia il codice sorgente

Recant mobile

修复自动完成显示问题,新增MDHTMLLabel 用于显示富文本。
Ray Zhang 8 anni fa
parent
commit
4a67232a50

+ 5 - 5
common/customUI/commoneditor/CommonEditorAutoCompleteView.xib

@@ -16,13 +16,13 @@
             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
             <subviews>
                 <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gPu-U2-Ob1">
-                    <rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
+                    <rect key="frame" x="0.0" y="20" width="375" height="44"/>
                     <items>
                         <barButtonItem style="plain" systemItem="flexibleSpace" id="Akz-J7-8Vx"/>
                         <barButtonItem style="plain" id="5fn-gW-pw6">
                             <textField key="customView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" id="h2N-Y1-mnQ">
-                                <rect key="frame" x="87" y="7" width="225" height="30"/>
-                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                <rect key="frame" x="92" y="7" width="220" height="30"/>
+                                <autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxY="YES"/>
                                 <nil key="textColor"/>
                                 <fontDescription key="fontDescription" type="system" pointSize="14"/>
                                 <textInputTraits key="textInputTraits"/>
@@ -40,7 +40,7 @@
                     </items>
                 </toolbar>
                 <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="z0F-88-nmc">
-                    <rect key="frame" x="0.0" y="44" width="375" height="623"/>
+                    <rect key="frame" x="0.0" y="64" width="375" height="603"/>
                     <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                     <connections>
                         <outlet property="dataSource" destination="iN0-l3-epB" id="XKK-5p-2we"/>
@@ -54,7 +54,7 @@
                 <constraint firstItem="z0F-88-nmc" firstAttribute="width" secondItem="gPu-U2-Ob1" secondAttribute="width" id="E6u-nm-wlS"/>
                 <constraint firstItem="z0F-88-nmc" firstAttribute="top" secondItem="gPu-U2-Ob1" secondAttribute="bottom" id="ago-Mp-q7y"/>
                 <constraint firstItem="z0F-88-nmc" firstAttribute="centerX" secondItem="gPu-U2-Ob1" secondAttribute="centerX" id="l4D-Tt-srx"/>
-                <constraint firstItem="gPu-U2-Ob1" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="rkt-8D-rQZ"/>
+                <constraint firstItem="gPu-U2-Ob1" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="rkt-8D-rQZ"/>
                 <constraint firstItem="gPu-U2-Ob1" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="sdE-t2-I5l"/>
                 <constraint firstAttribute="bottom" secondItem="z0F-88-nmc" secondAttribute="bottom" id="xsh-HQ-xfQ"/>
             </constraints>