Skip to content

Commit

Permalink
adjust layout of preference planes
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Nov 12, 2022
1 parent b9572b2 commit 838c43c
Show file tree
Hide file tree
Showing 6 changed files with 207 additions and 208 deletions.
139 changes: 68 additions & 71 deletions MacDown/Localization/Base.lproj/MPEditorPreferencesViewController.xib

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="6250" systemVersion="14A389" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="6250"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="MPExportPanelAccessoryViewController">
Expand All @@ -17,7 +18,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<button translatesAutoresizingMaskIntoConstraints="NO" id="PTZ-5f-xfe">
<rect key="frame" x="18" y="38" width="193" height="18"/>
<rect key="frame" x="18" y="37" width="191" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="189" id="MaJ-q9-wVG"/>
</constraints>
Expand All @@ -30,7 +31,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="nEL-cH-uT8">
<rect key="frame" x="18" y="18" width="193" height="18"/>
<rect key="frame" x="18" y="15" width="191" height="18"/>
<constraints>
<constraint firstAttribute="width" constant="189" id="fCr-Wo-6hO"/>
</constraints>
Expand All @@ -49,6 +50,7 @@
<constraint firstItem="nEL-cH-uT8" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="a0t-0v-IS7"/>
<constraint firstItem="PTZ-5f-xfe" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="kJR-Ah-kBC"/>
</constraints>
<point key="canvasLocation" x="107" y="-36"/>
</customView>
<userDefaultsController representsSharedInstance="YES" id="esl-Ae-OeF"/>
</objects>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="8191" systemVersion="14F27" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="8191"/>
<capability name="box content view" minToolsVersion="7.0"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="MPGeneralPreferencesViewController">
Expand All @@ -18,14 +18,14 @@
<rect key="frame" x="0.0" y="0.0" width="353" height="249"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<subviews>
<box autoresizesSubviews="NO" title="Update" borderType="line" translatesAutoresizingMaskIntoConstraints="NO" id="eLn-fW-Agu">
<box autoresizesSubviews="NO" borderType="line" title="Update" translatesAutoresizingMaskIntoConstraints="NO" id="eLn-fW-Agu">
<rect key="frame" x="17" y="16" width="319" height="54"/>
<view key="contentView" id="pfL-Xy-QHh">
<rect key="frame" x="1" y="1" width="317" height="38"/>
<rect key="frame" x="3" y="3" width="313" height="36"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button translatesAutoresizingMaskIntoConstraints="NO" id="jet-bG-trd">
<rect key="frame" x="16" y="12" width="285" height="18"/>
<rect key="frame" x="14" y="11" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="Prd-FU-8Gz"/>
</constraints>
Expand All @@ -45,17 +45,15 @@
<constraint firstItem="jet-bG-trd" firstAttribute="top" secondItem="eLn-fW-Agu" secondAttribute="top" constant="25" id="Yp1-GT-c9v"/>
<constraint firstItem="jet-bG-trd" firstAttribute="leading" secondItem="eLn-fW-Agu" secondAttribute="leading" constant="16" id="oYY-b5-wrF"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
<box autoresizesSubviews="NO" title="Behavior" borderType="line" translatesAutoresizingMaskIntoConstraints="NO" id="Nma-PL-ZvX">
<box autoresizesSubviews="NO" borderType="line" title="Behavior" translatesAutoresizingMaskIntoConstraints="NO" id="Nma-PL-ZvX">
<rect key="frame" x="17" y="74" width="319" height="155"/>
<view key="contentView" id="onQ-1i-oQ0">
<rect key="frame" x="1" y="1" width="317" height="139"/>
<rect key="frame" x="3" y="3" width="313" height="137"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button translatesAutoresizingMaskIntoConstraints="NO" id="6Nz-Ft-FbR">
<rect key="frame" x="16" y="93" width="285" height="18"/>
<rect key="frame" x="14" y="92" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="HtO-jU-tMN"/>
</constraints>
Expand All @@ -73,7 +71,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="Vab-4T-IU5">
<rect key="frame" x="16" y="73" width="285" height="18"/>
<rect key="frame" x="14" y="72" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="X3J-8y-4eQ"/>
</constraints>
Expand All @@ -86,7 +84,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="fjb-tU-1Kw">
<rect key="frame" x="16" y="53" width="285" height="18"/>
<rect key="frame" x="14" y="52" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="gLz-Pu-BCz"/>
</constraints>
Expand All @@ -99,7 +97,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="WVd-hz-Dcr">
<rect key="frame" x="16" y="33" width="285" height="18"/>
<rect key="frame" x="14" y="32" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="8H5-jQ-GoX"/>
</constraints>
Expand All @@ -117,7 +115,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="hqr-gd-6gi">
<rect key="frame" x="16" y="113" width="285" height="18"/>
<rect key="frame" x="14" y="112" width="283" height="16"/>
<constraints>
<constraint firstAttribute="height" constant="14" id="mpk-Ws-hqc"/>
</constraints>
Expand All @@ -135,7 +133,7 @@
</connections>
</button>
<button translatesAutoresizingMaskIntoConstraints="NO" id="UZT-HE-EaK">
<rect key="frame" x="16" y="12" width="285" height="18"/>
<rect key="frame" x="14" y="11" width="283" height="18"/>
<buttonCell key="cell" type="check" title="Automatically create files for link targets" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="hpF-zP-3cM">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
Expand Down Expand Up @@ -166,8 +164,6 @@
<constraint firstItem="6Nz-Ft-FbR" firstAttribute="top" secondItem="hqr-gd-6gi" secondAttribute="bottom" constant="6" id="tnU-Pf-heR"/>
<constraint firstAttribute="trailing" secondItem="fjb-tU-1Kw" secondAttribute="trailing" constant="16" id="uQJ-Jy-vPP"/>
</constraints>
<color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
<color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
</box>
</subviews>
<constraints>
Expand Down
Loading

0 comments on commit 838c43c

Please sign in to comment.