Skip to content

Commit 2c84742

Browse files
committed
Fixed KeyCell labels so they can wrap long strings.
1 parent 9863bc7 commit 2c84742

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sources/LocalizationEditor/UI/Cells/KeyCell.xib

Lines changed: 9 additions & 9 deletions
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="14460.31" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15702" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14460.31"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15702"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<objects>
@@ -13,24 +13,24 @@
1313
<rect key="frame" x="0.0" y="0.0" width="480" height="43"/>
1414
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1515
<subviews>
16-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5X2-ia-2YA">
16+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="500" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="5X2-ia-2YA">
1717
<rect key="frame" x="-2" y="21" width="484" height="17"/>
1818
<constraints>
19-
<constraint firstAttribute="height" constant="17" id="7vH-UA-4O8"/>
19+
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="17" id="7vH-UA-4O8"/>
2020
</constraints>
21-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Key" id="DsA-f5-s8p">
22-
<font key="font" metaFont="titleBar"/>
21+
<textFieldCell key="cell" sendsActionOnEndEditing="YES" title="Key" id="DsA-f5-s8p">
22+
<font key="font" metaFont="system"/>
2323
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
2424
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
2525
</textFieldCell>
2626
</textField>
27-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="wQA-SD-Muk">
27+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="500" verticalCompressionResistancePriority="1000" translatesAutoresizingMaskIntoConstraints="NO" id="wQA-SD-Muk">
2828
<rect key="frame" x="-2" y="5" width="484" height="14"/>
2929
<constraints>
3030
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="14" id="t5Q-r1-Qz7"/>
3131
</constraints>
32-
<textFieldCell key="cell" lineBreakMode="truncatingTail" selectable="YES" title="Message" id="3fR-Cn-IJU">
33-
<font key="font" metaFont="toolTip"/>
32+
<textFieldCell key="cell" selectable="YES" title="Message" id="3fR-Cn-IJU">
33+
<font key="font" metaFont="label" size="11"/>
3434
<color key="textColor" name="secondaryLabelColor" catalog="System" colorSpace="catalog"/>
3535
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
3636
</textFieldCell>

0 commit comments

Comments
 (0)