Skip to content

Commit

Permalink
Fixes top margin in horizontal view
Browse files Browse the repository at this point in the history
  • Loading branch information
glushchenko committed Nov 9, 2018
1 parent 787172f commit 79c131a
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions FSNotes/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14313.18"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
Expand Down Expand Up @@ -1492,17 +1492,17 @@ CA
<autoresizingMask key="autoresizingMask"/>
<subviews>
<scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" horizontalScrollElasticity="none" translatesAutoresizingMaskIntoConstraints="NO" id="qJO-7f-vkL" customClass="EditorScrollView" customModule="FSNotes">
<rect key="frame" x="0.0" y="0.0" width="417" height="542"/>
<rect key="frame" x="0.0" y="0.0" width="417" height="562"/>
<clipView key="contentView" canDrawConcurrently="YES" focusRingType="none" drawsBackground="NO" copiesOnScroll="NO" id="FJ2-Yo-v0A">
<rect key="frame" x="0.0" y="0.0" width="417" height="542"/>
<rect key="frame" x="0.0" y="0.0" width="417" height="562"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<textView verticallyResizable="YES" usesFontPanel="YES" findStyle="panel" allowsUndo="YES" allowsImageEditing="YES" usesRuler="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" linkDetection="YES" dataDetection="YES" dashSubstitution="YES" textReplacement="YES" smartInsertDelete="YES" id="cmZ-KL-T9k" customClass="EditTextView" customModule="FSNotes" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="417" height="542"/>
<rect key="frame" x="0.0" y="0.0" width="417" height="562"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="mainBackground"/>
<size key="minSize" width="417" height="542"/>
<size key="minSize" width="417" height="562"/>
<size key="maxSize" width="636" height="10000000"/>
<color key="insertionPointColor" name="textColor" catalog="System" colorSpace="catalog"/>
</textView>
Expand All @@ -1517,13 +1517,13 @@ CA
<rect key="frame" x="-100" y="-100" width="380" height="16"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
<scroller key="verticalScroller" wantsLayer="YES" focusRingType="none" verticalHuggingPriority="750" arrowsPosition="none" controlSize="small" horizontal="NO" id="TNj-kl-fKh">
<scroller key="verticalScroller" hidden="YES" wantsLayer="YES" focusRingType="none" verticalHuggingPriority="750" arrowsPosition="none" controlSize="small" horizontal="NO" id="TNj-kl-fKh">
<rect key="frame" x="403" y="0.0" width="14" height="542"/>
<autoresizingMask key="autoresizingMask"/>
</scroller>
</scrollView>
<textField horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rZx-hk-GcJ">
<rect key="frame" x="70" y="563" width="277" height="17"/>
<rect key="frame" x="70" y="573" width="277" height="17"/>
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" alignment="center" title="Title" drawsBackground="YES" id="O9K-a1-3eu">
<font key="font" size="13" name=".AppleSystemUIFont"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -1540,10 +1540,10 @@ CA
<color key="contentTintColor" name="textColor" catalog="System" colorSpace="catalog"/>
</imageView>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="xSU-Mk-2F1" customClass="TitleBarView" customModule="FSNotes" customModuleProvider="target">
<rect key="frame" x="0.0" y="542" width="417" height="58"/>
<rect key="frame" x="0.0" y="562" width="417" height="38"/>
<subviews>
<customView hidden="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Ua8-RE-q01">
<rect key="frame" x="0.0" y="0.0" width="417" height="58"/>
<rect key="frame" x="0.0" y="0.0" width="417" height="38"/>
<subviews>
<box hidden="YES" verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="sIv-nk-gch">
<rect key="frame" x="0.0" y="-2" width="417" height="5"/>
Expand All @@ -1552,7 +1552,7 @@ CA
</constraints>
</box>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oDB-Y6-20P">
<rect key="frame" x="398" y="21" width="11" height="16"/>
<rect key="frame" x="398" y="11" width="11" height="16"/>
<buttonCell key="cell" type="bevel" bezelStyle="rounded" image="NSShareTemplate" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="vLT-o6-WGO">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
Expand All @@ -1562,7 +1562,7 @@ CA
</connections>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bn7-FD-jzc">
<rect key="frame" x="366" y="21" width="22" height="16"/>
<rect key="frame" x="366" y="11" width="22" height="16"/>
<constraints>
<constraint firstAttribute="width" constant="22" id="cL1-PF-gSQ"/>
<constraint firstAttribute="height" constant="16" id="mhf-Ok-C0D"/>
Expand Down Expand Up @@ -1592,6 +1592,7 @@ CA
<constraint firstItem="Ua8-RE-q01" firstAttribute="leading" secondItem="xSU-Mk-2F1" secondAttribute="leading" id="duB-fQ-EQf"/>
<constraint firstItem="Ua8-RE-q01" firstAttribute="top" secondItem="xSU-Mk-2F1" secondAttribute="top" id="esv-qQ-apf"/>
<constraint firstAttribute="bottom" secondItem="Ua8-RE-q01" secondAttribute="bottom" id="nac-xp-D3Y"/>
<constraint firstAttribute="height" constant="38" id="uht-o4-cfz"/>
</constraints>
</customView>
</subviews>
Expand All @@ -1611,9 +1612,6 @@ CA
</constraints>
</customView>
</subviews>
<constraints>
<constraint firstItem="Kzf-Jh-YEb" firstAttribute="top" secondItem="xSU-Mk-2F1" secondAttribute="bottom" id="Tlt-dS-RzK"/>
</constraints>
<holdingPriorities>
<real value="399"/>
<real value="173"/>
Expand Down

0 comments on commit 79c131a

Please sign in to comment.