Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Added constraints to fix resize handle vertical position (mac), #2342
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Jan 25, 2018
1 parent 6b962a4 commit cfc26f1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/ui/osx/TogglDesktop/TimeEntryEditViewController.xib
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
</connections>
</tokenField>
<button ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="sSX-ad-7XC">
<rect key="frame" x="13" y="51" width="67" height="18"/>
<rect key="frame" x="13" y="51" width="66" height="18"/>
<buttonCell key="cell" type="check" title="Billable" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="jlI-qI-Cgm">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
Expand Down Expand Up @@ -606,8 +606,8 @@
<outlet property="nextKeyView" destination="zwE-pW-vQN" id="xLl-BH-UOC"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="oCY-bD-X7j" customClass="NSResize">
<rect key="frame" x="334" y="190" width="16" height="17"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oCY-bD-X7j" customClass="NSResize">
<rect key="frame" x="335" y="187" width="14" height="19"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="||" id="AcP-XE-cJn">
<font key="font" metaFont="system" size="15"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -617,8 +617,8 @@
<outlet property="delegate" destination="-2" id="Y7v-ic-XoW"/>
</connections>
</textField>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0ZT-Dr-aT9" customClass="NSResize">
<rect key="frame" x="0.0" y="187" width="16" height="17"/>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="0ZT-Dr-aT9" customClass="NSResize">
<rect key="frame" x="0.0" y="189" width="16" height="17"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="||" id="2fC-dQ-TDq">
<font key="font" metaFont="system" size="15"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
Expand All @@ -631,12 +631,14 @@
</subviews>
<constraints>
<constraint firstItem="0ZT-Dr-aT9" firstAttribute="leading" secondItem="qjv-II-K0N" secondAttribute="leading" constant="4" id="7Jj-f2-0W4"/>
<constraint firstItem="0ZT-Dr-aT9" firstAttribute="top" secondItem="qjv-II-K0N" secondAttribute="top" constant="150" id="7as-5D-Q8e"/>
<constraint firstAttribute="bottom" secondItem="byc-AI-Ri7" secondAttribute="bottom" constant="5" id="Ajf-70-v6X"/>
<constraint firstAttribute="trailing" secondItem="oCY-bD-X7j" secondAttribute="trailing" id="JH8-W0-Oa0"/>
<constraint firstItem="Wpz-9G-IOZ" firstAttribute="leading" secondItem="qjv-II-K0N" secondAttribute="leading" constant="15" id="KcK-u3-lTT"/>
<constraint firstItem="Mka-gG-oqB" firstAttribute="leading" secondItem="qjv-II-K0N" secondAttribute="leading" id="Obp-pk-sqd"/>
<constraint firstAttribute="bottom" secondItem="Mka-gG-oqB" secondAttribute="bottom" id="PGJ-IN-7Ca"/>
<constraint firstItem="Mka-gG-oqB" firstAttribute="top" secondItem="qjv-II-K0N" secondAttribute="top" id="TAW-qc-cWw"/>
<constraint firstItem="oCY-bD-X7j" firstAttribute="top" secondItem="qjv-II-K0N" secondAttribute="top" constant="150" id="b7h-ul-rhc"/>
<constraint firstAttribute="trailing" secondItem="byc-AI-Ri7" secondAttribute="trailing" constant="15" id="fXe-Dr-zdW"/>
<constraint firstAttribute="bottom" secondItem="Wpz-9G-IOZ" secondAttribute="bottom" constant="5" id="nN5-CB-K2U"/>
<constraint firstAttribute="trailing" secondItem="Mka-gG-oqB" secondAttribute="trailing" id="tNy-no-1kn"/>
Expand Down

0 comments on commit cfc26f1

Please sign in to comment.