Skip to content

Commit

Permalink
Make setting window wider
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Aug 20, 2023
1 parent 5bf4273 commit 2a5ad68
Show file tree
Hide file tree
Showing 31 changed files with 340 additions and 338 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Change Log
- [trivial] Change the behavior of the duplication command for syntax definitions to just create a duplicated syntax instead of opening the syntax editor dialog.
- [trivial] Improve the behavior when selecting a row in the find result table in the Find window.
- [trivial] Rename “syntax style” with just “syntax.”
- [trivial] Rearrange the layout of the encoding list.
- [trivial] Adjust the layout of the Settings window.


### Fixes
Expand Down
44 changes: 21 additions & 23 deletions CotEditor/Base.lproj/AppearancePane.storyboard

Large diffs are not rendered by default.

50 changes: 20 additions & 30 deletions CotEditor/Base.lproj/EditPane.storyboard

Large diffs are not rendered by default.

46 changes: 24 additions & 22 deletions CotEditor/Base.lproj/FormatPane.storyboard

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions CotEditor/Base.lproj/GeneralPane.storyboard
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="22146" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="JG1-NR-KT5">
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="22152" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="JG1-NR-KT5">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22146"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22152"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--General Pane Controller-->
<scene sceneID="eDf-Cn-NDW">
<objects>
<viewController id="JG1-NR-KT5" customClass="GeneralPaneController" customModule="CotEditor" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" horizontalHuggingPriority="750" verticalCompressionResistancePriority="250" id="T5J-Ml-0Oc">
<rect key="frame" x="0.0" y="0.0" width="570" height="530"/>
<view key="view" horizontalHuggingPriority="750" verticalCompressionResistancePriority="250" misplaced="YES" id="T5J-Ml-0Oc">
<rect key="frame" x="0.0" y="0.0" width="600" height="516"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oN2-0G-iXz">
<rect key="frame" x="146" y="409" width="216" height="18"/>
<rect key="frame" x="146" y="395" width="216" height="18"/>
<buttonCell key="cell" type="check" title="Enable Auto Save with Versions" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="SGo-FL-Pax">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
Expand All @@ -26,7 +26,7 @@
</connections>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="751" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="goq-md-y5e">
<rect key="frame" x="40" y="410" width="102" height="16"/>
<rect key="frame" x="40" y="396" width="102" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="Document save:" usesSingleLineMode="YES" id="Ki4-3Y-AZL">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -73,7 +73,7 @@
</textFieldCell>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="XmK-Ev-21D">
<rect key="frame" x="166" y="364" width="386" height="42"/>
<rect key="frame" x="166" y="364" width="416" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" id="sOa-Ea-zt9">
<font key="font" metaFont="smallSystem"/>
<string key="title">A system feature that automatically overwrites your files while editing. Even if it turned off, CotEditor creates backup covertly for unexpected quit.</string>
Expand Down Expand Up @@ -122,7 +122,7 @@
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jK0-pT-HTR">
<rect key="frame" x="146" y="493" width="235" height="18"/>
<rect key="frame" x="146" y="479" width="235" height="18"/>
<buttonCell key="cell" type="check" title="Reopen windows from last session" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="QX9-BI-SIL">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
Expand All @@ -134,7 +134,7 @@
</connections>
</button>
<button identifier="settings_general" horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Dby-UY-iuz">
<rect key="frame" x="527" y="16" width="25" height="25"/>
<rect key="frame" x="557" y="16" width="25" height="25"/>
<buttonCell key="cell" type="help" bezelStyle="helpButton" alignment="center" borderStyle="border" inset="2" id="rEM-8b-6Ms">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
Expand All @@ -144,15 +144,15 @@
</connections>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NjY-HB-hDH">
<rect key="frame" x="146" y="470" width="168" height="16"/>
<rect key="frame" x="146" y="456" width="168" height="16"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="When nothing else is open:" id="wmw-xg-bSt">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" horizontalHuggingPriority="751" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ihY-NN-wRt">
<rect key="frame" x="69" y="494" width="73" height="16"/>
<rect key="frame" x="69" y="480" width="73" height="16"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="right" title="On startup:" usesSingleLineMode="YES" id="zDW-aW-9G8">
<font key="font" metaFont="system"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -168,7 +168,7 @@
</textFieldCell>
</textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sMb-to-ljF">
<rect key="frame" x="165" y="438" width="176" height="25"/>
<rect key="frame" x="165" y="424" width="176" height="25"/>
<popUpButtonCell key="cell" type="push" title="Create New Document" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" tag="1" imageScaling="proportionallyDown" inset="2" selectedItem="i4c-DG-ADS" id="F8J-5l-ztJ">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
Expand Down Expand Up @@ -257,7 +257,7 @@
</connections>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oIq-wQ-hMA">
<rect key="frame" x="146" y="52" width="406" height="28"/>
<rect key="frame" x="146" y="52" width="436" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="With the 'cot' command-line tool, you can launch CotEditor and let it open files from the command line." id="c48-xK-Ag1">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
Expand Down Expand Up @@ -285,7 +285,7 @@
</textFieldCell>
</textField>
<containerView translatesAutoresizingMaskIntoConstraints="NO" id="l3Q-r7-hXn">
<rect key="frame" x="0.0" y="44" width="570" height="2"/>
<rect key="frame" x="0.0" y="44" width="600" height="2"/>
<constraints>
<constraint firstAttribute="height" priority="750" constant="2" id="ZcE-nb-0Pl"/>
</constraints>
Expand Down Expand Up @@ -395,7 +395,7 @@
<objects>
<viewController id="q0M-8Q-aM1" customClass="UpdatesViewController" customModule="CotEditor" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" translatesAutoresizingMaskIntoConstraints="NO" id="LLa-wu-mor">
<rect key="frame" x="0.0" y="0.0" width="570" height="103"/>
<rect key="frame" x="0.0" y="0.0" width="600" height="103"/>
<subviews>
<button tag="-1" verticalHuggingPriority="750" verticalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="eh0-fN-8C5">
<rect key="frame" x="130" y="61" width="222" height="18"/>
Expand Down Expand Up @@ -426,15 +426,15 @@
</connections>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" verticalCompressionResistancePriority="751" tag="-2" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="dyM-Pb-Ay4">
<rect key="frame" x="150" y="8" width="402" height="28"/>
<rect key="frame" x="150" y="8" width="432" height="28"/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="Regardless of this setting, new pre-releases are always included while using a pre-release." id="chR-VY-cuI">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="9j3-BL-0Mu">
<rect key="frame" x="20" y="90" width="530" height="5"/>
<rect key="frame" x="20" y="90" width="560" height="5"/>
</box>
</subviews>
<constraints>
Expand Down
Loading

0 comments on commit 2a5ad68

Please sign in to comment.