Browse Source

【2025】【PDFView】设置字体UI无变化问题

dinglingui 2 months ago
parent
commit
1d15167bed

+ 0 - 1
PDF Office/PDF Master/KMClass/PDFListView/WindowController/KMNPopAnnotationWindowController.swift

@@ -234,7 +234,6 @@ class KMNPopAnnotationWindowController: KMNBaseWindowController {
             } else {
                 fontNameSelect.properties.text = "-"
             }
-            fontNameSelect.selectItemAtIndex(0)
             fontNameSelect.reloadData()
         }
     }

+ 2 - 2
PDF Office/PDF Master/KMClass/PDFListView/WindowController/KMNPopAnnotationWindowController.xib

@@ -63,9 +63,9 @@
             <windowStyleMask key="styleMask" titled="YES" fullSizeContentView="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="511" height="42"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="1512" height="944"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
             <view key="contentView" misplaced="YES" id="se5-gp-TjO">
-                <rect key="frame" x="0.0" y="0.0" width="501" height="40"/>
+                <rect key="frame" x="0.0" y="0.0" width="511" height="42"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <box boxType="custom" borderWidth="0.0" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="iV9-GQ-NJE">