Browse Source

【fix】 Convert,间距问题

tangchao 3 months ago
parent
commit
d3e0bb9a11

+ 11 - 11
PDF Office/PDF Master/KMClass/Convert/Base/KMConvertBaseWindowController.xib

@@ -698,13 +698,13 @@
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
                 <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="J77-GL-ECh">
-                    <rect key="frame" x="0.0" y="172" width="270" height="190"/>
+                    <rect key="frame" x="0.0" y="160" width="270" height="202"/>
                     <view key="contentView" id="Qhg-fc-HIv">
-                        <rect key="frame" x="0.0" y="0.0" width="270" height="190"/>
+                        <rect key="frame" x="0.0" y="0.0" width="270" height="202"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                             <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MHF-XE-yf0">
-                                <rect key="frame" x="14" y="174" width="37" height="16"/>
+                                <rect key="frame" x="14" y="186" width="37" height="16"/>
                                 <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Z4s-Tq-fFY">
                                     <font key="font" usesAppearanceFont="YES"/>
                                     <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -712,7 +712,7 @@
                                 </textFieldCell>
                             </textField>
                             <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="u72-aS-gSj">
-                                <rect key="frame" x="16" y="104" width="238" height="32"/>
+                                <rect key="frame" x="16" y="116" width="238" height="32"/>
                                 <view key="contentView" id="vC5-po-CzR">
                                     <rect key="frame" x="0.0" y="0.0" width="238" height="32"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -722,7 +722,7 @@
                                 </constraints>
                             </box>
                             <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="td0-i6-XZr">
-                                <rect key="frame" x="16" y="34" width="238" height="32"/>
+                                <rect key="frame" x="16" y="46" width="238" height="32"/>
                                 <view key="contentView" id="aek-8z-X0y">
                                     <rect key="frame" x="0.0" y="0.0" width="238" height="32"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -732,7 +732,7 @@
                                 </constraints>
                             </box>
                             <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="coC-rc-dkG">
-                                <rect key="frame" x="16" y="144" width="238" height="22"/>
+                                <rect key="frame" x="16" y="156" width="238" height="22"/>
                                 <view key="contentView" id="euq-DT-i99">
                                     <rect key="frame" x="0.0" y="0.0" width="238" height="22"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -743,7 +743,7 @@
                                 <color key="fillColor" red="0.92156862750000001" green="0.92156862750000001" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             </box>
                             <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="RgG-op-QpY">
-                                <rect key="frame" x="16" y="74" width="238" height="22"/>
+                                <rect key="frame" x="16" y="86" width="238" height="22"/>
                                 <view key="contentView" id="IZf-Cd-1gO">
                                     <rect key="frame" x="0.0" y="0.0" width="238" height="22"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -754,7 +754,7 @@
                                 <color key="fillColor" red="0.92156862750000001" green="0.92156862750000001" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             </box>
                             <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="A5F-BN-csd">
-                                <rect key="frame" x="16" y="4" width="238" height="22"/>
+                                <rect key="frame" x="16" y="16" width="238" height="22"/>
                                 <view key="contentView" id="wT6-5J-NY2">
                                     <rect key="frame" x="0.0" y="0.0" width="238" height="22"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -786,11 +786,11 @@
                         </constraints>
                     </view>
                     <constraints>
-                        <constraint firstAttribute="height" constant="190" id="UBd-Ue-F2e"/>
+                        <constraint firstAttribute="height" constant="202" id="UBd-Ue-F2e"/>
                     </constraints>
                 </box>
                 <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="w2v-Hy-YKp">
-                    <rect key="frame" x="0.0" y="60" width="270" height="112"/>
+                    <rect key="frame" x="0.0" y="48" width="270" height="112"/>
                     <view key="contentView" id="JcO-IP-Ka5">
                         <rect key="frame" x="0.0" y="0.0" width="270" height="112"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -800,7 +800,7 @@
                     </constraints>
                 </box>
                 <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="DgD-fL-8pQ">
-                    <rect key="frame" x="0.0" y="-20" width="270" height="72"/>
+                    <rect key="frame" x="0.0" y="-32" width="270" height="72"/>
                     <view key="contentView" id="Y7N-eI-Xvk">
                         <rect key="frame" x="0.0" y="0.0" width="270" height="72"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>

+ 1 - 1
PDF Office/PDF Master/KMClass/Convert/Window/KMConvertExcelWindowController.swift

@@ -18,7 +18,7 @@ class KMConvertExcelWindowController: KMConvertBaseWindowController {
         super.initContentView()
         self.titleLabel.stringValue = NSLocalizedString("PDF to Excel", comment: "")
 
-        self.setupContentHeight(height: 391+20)
+        self.setupContentHeight(height: 391+32)
     }
     
     override func initSettingView() -> KMConvertSettingView? {