Skip to content

Commit d63acdf

Browse files
committed
UI fix.
1 parent e3ff4d4 commit d63acdf

File tree

6 files changed

+133
-71
lines changed

6 files changed

+133
-71
lines changed

Application/SettingsView.xib

+17-27
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="20037" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="19529"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="20037"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -62,11 +62,11 @@
6262
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
6363
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
6464
<customView id="c22-O7-iKe">
65-
<rect key="frame" x="0.0" y="0.0" width="4503" height="850"/>
65+
<rect key="frame" x="0.0" y="0.0" width="4533" height="850"/>
6666
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
6767
<subviews>
6868
<gridView horizontalHuggingPriority="249" xPlacement="leading" yPlacement="center" rowAlignment="none" translatesAutoresizingMaskIntoConstraints="NO" id="0T1-eh-T9u">
69-
<rect key="frame" x="0.0" y="132" width="4503" height="718"/>
69+
<rect key="frame" x="0.0" y="132" width="4533" height="718"/>
7070
<constraints>
7171
<constraint firstAttribute="trailing" secondItem="UX1-Xe-OEz" secondAttribute="trailing" constant="6" id="1EC-S4-H7d"/>
7272
<constraint firstItem="9lC-ZQ-SGD" firstAttribute="width" secondItem="g84-Vh-moe" secondAttribute="width" id="Fqy-kk-Dwn"/>
@@ -317,13 +317,13 @@
317317
</gridCell>
318318
<gridCell row="7Fa-ya-moY" column="Gck-5r-ihD" id="ZDk-j6-PgP">
319319
<box key="contentView" horizontalHuggingPriority="249" borderType="line" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="UX1-Xe-OEz">
320-
<rect key="frame" x="205" y="516" width="4295" height="29"/>
320+
<rect key="frame" x="205" y="516" width="4325" height="29"/>
321321
<view key="contentView" id="kwH-Hg-vPS">
322-
<rect key="frame" x="3" y="3" width="4289" height="23"/>
322+
<rect key="frame" x="3" y="3" width="4319" height="23"/>
323323
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
324324
<subviews>
325325
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SCg-7c-w8J">
326-
<rect key="frame" x="4266" y="4" width="15" height="15"/>
326+
<rect key="frame" x="4296" y="4" width="15" height="15"/>
327327
<buttonCell key="cell" type="inline" bezelStyle="inline" image="font_panel" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" inset="2" id="idR-RX-9HI">
328328
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
329329
<font key="font" metaFont="smallSystemBold"/>
@@ -333,7 +333,7 @@
333333
</connections>
334334
</button>
335335
<textField horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hvR-2L-HaF">
336-
<rect key="frame" x="6" y="4" width="4254" height="16"/>
336+
<rect key="frame" x="6" y="4" width="4284" height="16"/>
337337
<textFieldCell key="cell" lineBreakMode="clipping" id="qZf-V6-K5M">
338338
<font key="font" metaFont="system"/>
339339
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
@@ -562,10 +562,10 @@
562562
</gridCell>
563563
<gridCell row="jUh-vB-Wi1" column="Gck-5r-ihD" id="jdS-Ur-03u">
564564
<stackView key="contentView" distribution="fill" orientation="horizontal" alignment="centerY" spacing="4" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" horizontalHuggingPriority="249" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="E8R-g7-R4x">
565-
<rect key="frame" x="208" y="336" width="4289" height="21"/>
565+
<rect key="frame" x="208" y="336" width="4325" height="21"/>
566566
<subviews>
567567
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ncm-z0-FS0">
568-
<rect key="frame" x="0.0" y="0.0" width="4269" height="21"/>
568+
<rect key="frame" x="0.0" y="0.0" width="4305" height="21"/>
569569
<string key="toolTip">Preprocessor is any command line program or shell script that returns to the stdout the data to be formatted. Use the placeholder $targetHL for the target file name. </string>
570570
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="cat $targetHL" drawsBackground="YES" id="ySl-JY-XvU">
571571
<font key="font" usesAppearanceFont="YES"/>
@@ -577,7 +577,7 @@
577577
</connections>
578578
</textField>
579579
<imageView toolTip="Warning: the preprocessor do not contain the $targetHL placeholder." horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="f5n-uP-zlA">
580-
<rect key="frame" x="4273" y="3" width="16" height="16"/>
580+
<rect key="frame" x="4309" y="3" width="16" height="16"/>
581581
<constraints>
582582
<constraint firstAttribute="width" constant="16" id="EXD-Jh-He6"/>
583583
<constraint firstAttribute="height" constant="16" id="itg-u5-YGI"/>
@@ -786,7 +786,7 @@
786786
<gridCell row="Tyb-uM-equ" column="K0M-TP-aZe" id="E6d-kn-772">
787787
<textField key="contentView" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="YA3-R3-beG">
788788
<rect key="frame" x="-2" y="116" width="206" height="16"/>
789-
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="Custom Quick Look:" id="U9E-0z-m8I">
789+
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="Custom Quick Look size:" id="U9E-0z-m8I">
790790
<font key="font" usesAppearanceFont="YES"/>
791791
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
792792
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -795,24 +795,16 @@
795795
</gridCell>
796796
<gridCell row="Tyb-uM-equ" column="Gck-5r-ihD" id="r4K-Y8-sJv">
797797
<stackView key="contentView" distribution="equalSpacing" orientation="horizontal" alignment="firstBaseline" spacing="2" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KV9-fB-7Y9">
798-
<rect key="frame" x="208" y="113" width="274" height="22"/>
798+
<rect key="frame" x="208" y="113" width="240" height="22"/>
799799
<subviews>
800800
<switch horizontalHuggingPriority="750" verticalHuggingPriority="750" baseWritingDirection="leftToRight" alignment="left" translatesAutoresizingMaskIntoConstraints="NO" id="jfe-l3-6Vw">
801801
<rect key="frame" x="-2" y="-2" width="42" height="25"/>
802802
<connections>
803803
<action selector="handleQLSizeChanged:" target="-2" id="Edf-gf-fdP"/>
804804
</connections>
805805
</switch>
806-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="6EN-M1-KFK">
807-
<rect key="frame" x="38" y="3" width="36" height="16"/>
808-
<textFieldCell key="cell" lineBreakMode="clipping" title=" size:" id="Vpm-6R-TIg">
809-
<font key="font" metaFont="system"/>
810-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
811-
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
812-
</textFieldCell>
813-
</textField>
814806
<textField verticalHuggingPriority="750" tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="3VB-dU-Ndh">
815-
<rect key="frame" x="74" y="1" width="80" height="21"/>
807+
<rect key="frame" x="40" y="1" width="80" height="21"/>
816808
<constraints>
817809
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="0UB-PL-r2P"/>
818810
<constraint firstAttribute="width" relation="lessThanOrEqual" constant="80" id="SZr-ER-phR"/>
@@ -832,15 +824,15 @@
832824
</connections>
833825
</textField>
834826
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oX9-cb-QV4">
835-
<rect key="frame" x="154" y="3" width="20" height="16"/>
827+
<rect key="frame" x="120" y="3" width="20" height="16"/>
836828
<textFieldCell key="cell" lineBreakMode="clipping" title="" id="anS-CX-hpU">
837829
<font key="font" metaFont="system"/>
838830
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
839831
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
840832
</textFieldCell>
841833
</textField>
842834
<textField verticalHuggingPriority="750" tag="2" translatesAutoresizingMaskIntoConstraints="NO" id="wMk-4m-Xf1">
843-
<rect key="frame" x="174" y="1" width="80" height="21"/>
835+
<rect key="frame" x="140" y="1" width="80" height="21"/>
844836
<constraints>
845837
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="hjj-T5-VIc"/>
846838
</constraints>
@@ -855,7 +847,7 @@
855847
</connections>
856848
</textField>
857849
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="d0s-UA-xEs">
858-
<rect key="frame" x="254" y="3" width="22" height="16"/>
850+
<rect key="frame" x="220" y="3" width="22" height="16"/>
859851
<textFieldCell key="cell" lineBreakMode="clipping" title=" px" id="otg-TV-b6O">
860852
<font key="font" metaFont="system"/>
861853
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -872,15 +864,13 @@
872864
<integer value="1000"/>
873865
<integer value="1000"/>
874866
<integer value="1000"/>
875-
<integer value="1000"/>
876867
</visibilityPriorities>
877868
<customSpacing>
878869
<real value="3.4028234663852886e+38"/>
879870
<real value="3.4028234663852886e+38"/>
880871
<real value="3.4028234663852886e+38"/>
881872
<real value="3.4028234663852886e+38"/>
882873
<real value="3.4028234663852886e+38"/>
883-
<real value="3.4028234663852886e+38"/>
884874
</customSpacing>
885875
</stackView>
886876
</gridCell>

0 commit comments

Comments
 (0)