Ver Fonte

Common editor clicks on enumeration type cell to crash -- common editor 点枚举类型单元格闪退
(resolve: #14588)

Ray Zhang há 4 anos atrás
pai
commit
843be1d32c
1 ficheiros alterados com 2 adições e 24 exclusões
  1. 2 24
      common/customUI/commoneditor/CommonEditor.storyboard

+ 2 - 24
common/customUI/commoneditor/CommonEditor.storyboard

@@ -853,25 +853,15 @@
                                                     <rect key="frame" x="15" y="5" width="478" height="34"/>
                                                     <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                                 </view>
-                                                <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="check_1_24" translatesAutoresizingMaskIntoConstraints="NO" id="Hc0-3c-eIS">
-                                                    <rect key="frame" x="501" y="10" width="24" height="24"/>
-                                                    <constraints>
-                                                        <constraint firstAttribute="width" constant="24" id="VlK-Cr-2Yj"/>
-                                                        <constraint firstAttribute="height" constant="24" id="pnd-NL-Tma"/>
-                                                    </constraints>
-                                                </imageView>
                                             </subviews>
                                             <constraints>
-                                                <constraint firstAttribute="trailing" secondItem="Hc0-3c-eIS" secondAttribute="trailing" constant="15" id="35S-ue-dTl"/>
                                                 <constraint firstItem="ysV-pp-Th5" firstAttribute="top" secondItem="kPb-Xs-gEw" secondAttribute="top" constant="5" id="3f1-IU-MHD"/>
                                                 <constraint firstAttribute="bottom" secondItem="ysV-pp-Th5" secondAttribute="bottom" constant="5" id="77l-Rs-Upd"/>
-                                                <constraint firstItem="Hc0-3c-eIS" firstAttribute="centerY" secondItem="kPb-Xs-gEw" secondAttribute="centerY" id="AyF-UL-DVb"/>
-                                                <constraint firstItem="Hc0-3c-eIS" firstAttribute="leading" secondItem="ysV-pp-Th5" secondAttribute="trailing" constant="8" id="geu-6S-esh"/>
+                                                <constraint firstAttribute="trailingMargin" secondItem="ysV-pp-Th5" secondAttribute="trailing" constant="31" id="7Ki-Ei-EHG"/>
                                                 <constraint firstItem="ysV-pp-Th5" firstAttribute="leading" secondItem="kPb-Xs-gEw" secondAttribute="leading" constant="15" id="iYw-Py-igH"/>
                                             </constraints>
                                         </tableViewCellContentView>
                                         <connections>
-                                            <outlet property="img_checkmark" destination="Hc0-3c-eIS" id="iXx-Oy-Yt0"/>
                                             <outlet property="rtLabel" destination="ysV-pp-Th5" id="iNe-9Z-Yy8"/>
                                         </connections>
                                     </tableViewCell>
@@ -962,29 +952,18 @@
                                             <rect key="frame" x="0.0" y="0.0" width="768" height="44"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
-                                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qm5-av-MgR" customClass="RTLabel">
+                                                <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Qm5-av-MgR" customClass="RTLabel">
                                                     <rect key="frame" x="15" y="5" width="706" height="34"/>
                                                     <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                                                 </view>
-                                                <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="check_1_24" translatesAutoresizingMaskIntoConstraints="NO" id="kF5-qd-S0m">
-                                                    <rect key="frame" x="729" y="10" width="24" height="24"/>
-                                                    <constraints>
-                                                        <constraint firstAttribute="width" constant="24" id="JjL-qY-RBW"/>
-                                                        <constraint firstAttribute="height" constant="24" id="aa1-vg-GFg"/>
-                                                    </constraints>
-                                                </imageView>
                                             </subviews>
                                             <constraints>
-                                                <constraint firstItem="kF5-qd-S0m" firstAttribute="leading" secondItem="Qm5-av-MgR" secondAttribute="trailing" constant="8" id="711-Ar-J18"/>
                                                 <constraint firstItem="Qm5-av-MgR" firstAttribute="top" secondItem="FgK-hs-kBJ" secondAttribute="top" constant="5" id="DWq-iS-IcJ"/>
-                                                <constraint firstItem="kF5-qd-S0m" firstAttribute="centerY" secondItem="FgK-hs-kBJ" secondAttribute="centerY" id="INu-iQ-cHs"/>
-                                                <constraint firstAttribute="trailing" secondItem="kF5-qd-S0m" secondAttribute="trailing" constant="15" id="Lfd-o7-jda"/>
                                                 <constraint firstAttribute="bottom" secondItem="Qm5-av-MgR" secondAttribute="bottom" constant="5" id="fg2-3e-6Le"/>
                                                 <constraint firstItem="Qm5-av-MgR" firstAttribute="leading" secondItem="FgK-hs-kBJ" secondAttribute="leading" constant="15" id="kbu-o6-Syf"/>
                                             </constraints>
                                         </tableViewCellContentView>
                                         <connections>
-                                            <outlet property="img_checkmark" destination="kF5-qd-S0m" id="OAe-X4-bJt"/>
                                             <outlet property="rtLabel" destination="Qm5-av-MgR" id="7hv-rt-x1R"/>
                                         </connections>
                                     </tableViewCell>
@@ -1023,7 +1002,6 @@
         </scene>
     </scenes>
     <resources>
-        <image name="check_1_24" width="24" height="24"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>