Embed address/port views

This commit is contained in:
Davide De Rosa 2021-01-26 19:41:06 +01:00
parent 5e1997e856
commit 08587db7fa

View File

@ -871,42 +871,58 @@ DQ
<customView translatesAutoresizingMaskIntoConstraints="NO" id="lIW-gM-F4p">
<rect key="frame" x="0.0" y="0.0" width="500" height="191"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1lz-QY-I4a">
<rect key="frame" x="-2" y="173" width="144" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="ADDR" id="YDY-1u-h1f">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="agk-kA-yKN">
<rect key="frame" x="150" y="170" width="130" height="21"/>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="tWj-MW-BEZ">
<rect key="frame" x="0.0" y="170" width="500" height="21"/>
<subviews>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1lz-QY-I4a">
<rect key="frame" x="-2" y="3" width="144" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="right" title="ADDR" id="YDY-1u-h1f">
<font key="font" usesAppearanceFont="YES"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="agk-kA-yKN">
<rect key="frame" x="150" y="0.0" width="130" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="130" id="7Ec-rg-RBm"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="255.255.255.255" drawsBackground="YES" id="CEb-vF-MtI">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<outlet property="delegate" destination="GKB-5a-YDj" id="or1-Dx-13y"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="aOI-Xp-liP">
<rect key="frame" x="280" y="0.0" width="60" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="60" id="cCA-F4-gRF"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="65535" drawsBackground="YES" id="Y5V-uz-E4D">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<outlet property="delegate" destination="GKB-5a-YDj" id="GOT-Tf-PJ2"/>
</connections>
</textField>
</subviews>
<constraints>
<constraint firstAttribute="width" constant="130" id="7Ec-rg-RBm"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="top" secondItem="tWj-MW-BEZ" secondAttribute="top" id="0vg-T8-GQR"/>
<constraint firstItem="1lz-QY-I4a" firstAttribute="leading" secondItem="tWj-MW-BEZ" secondAttribute="leading" id="1T4-CC-uu7"/>
<constraint firstItem="aOI-Xp-liP" firstAttribute="leading" secondItem="agk-kA-yKN" secondAttribute="trailing" id="6vt-mB-Xhq"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="aOI-Xp-liP" secondAttribute="trailing" id="DMl-7j-KXV"/>
<constraint firstItem="aOI-Xp-liP" firstAttribute="centerY" secondItem="agk-kA-yKN" secondAttribute="centerY" id="GqT-cN-tM8"/>
<constraint firstItem="1lz-QY-I4a" firstAttribute="centerY" secondItem="agk-kA-yKN" secondAttribute="centerY" id="k54-yc-nlu"/>
<constraint firstAttribute="bottom" secondItem="agk-kA-yKN" secondAttribute="bottom" id="snC-1Z-lN8"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="leading" secondItem="1lz-QY-I4a" secondAttribute="trailing" constant="10" id="wtb-VQ-9g1"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="agk-kA-yKN" secondAttribute="trailing" id="x8u-Nw-hny"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="255.255.255.255" drawsBackground="YES" id="CEb-vF-MtI">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<outlet property="delegate" destination="GKB-5a-YDj" id="or1-Dx-13y"/>
</connections>
</textField>
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="aOI-Xp-liP">
<rect key="frame" x="280" y="170" width="60" height="21"/>
<constraints>
<constraint firstAttribute="width" constant="60" id="cCA-F4-gRF"/>
</constraints>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="65535" drawsBackground="YES" id="Y5V-uz-E4D">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
<connections>
<outlet property="delegate" destination="GKB-5a-YDj" id="GOT-Tf-PJ2"/>
</connections>
</textField>
</customView>
<customView translatesAutoresizingMaskIntoConstraints="NO" id="OXH-cq-bhS">
<rect key="frame" x="150" y="0.0" width="350" height="160"/>
<constraints>
@ -916,17 +932,12 @@ DQ
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="OXH-cq-bhS" secondAttribute="bottom" id="7z0-Rw-lxr"/>
<constraint firstItem="OXH-cq-bhS" firstAttribute="top" secondItem="tWj-MW-BEZ" secondAttribute="bottom" constant="10" id="J4Q-c9-QoL"/>
<constraint firstItem="OXH-cq-bhS" firstAttribute="leading" secondItem="agk-kA-yKN" secondAttribute="leading" id="JY4-Ul-M5P"/>
<constraint firstAttribute="trailing" secondItem="OXH-cq-bhS" secondAttribute="trailing" id="JjH-ll-cjt"/>
<constraint firstItem="aOI-Xp-liP" firstAttribute="leading" secondItem="agk-kA-yKN" secondAttribute="trailing" id="cjl-P3-BmH"/>
<constraint firstItem="1lz-QY-I4a" firstAttribute="centerY" secondItem="agk-kA-yKN" secondAttribute="centerY" id="dSC-V3-UgP"/>
<constraint firstItem="1lz-QY-I4a" firstAttribute="leading" secondItem="lIW-gM-F4p" secondAttribute="leading" id="eWc-gR-w9L"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="leading" secondItem="1lz-QY-I4a" secondAttribute="trailing" constant="10" id="gGZ-xb-LMf"/>
<constraint firstItem="aOI-Xp-liP" firstAttribute="centerY" secondItem="agk-kA-yKN" secondAttribute="centerY" id="gNL-y3-qh3"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="aOI-Xp-liP" secondAttribute="trailing" id="hbc-cX-NnL"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="top" secondItem="lIW-gM-F4p" secondAttribute="top" id="pa1-17-1tz"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="agk-kA-yKN" secondAttribute="trailing" id="qnW-IO-Ljl"/>
<constraint firstItem="OXH-cq-bhS" firstAttribute="top" secondItem="agk-kA-yKN" secondAttribute="bottom" constant="10" id="vfE-2L-BGW"/>
<constraint firstItem="OXH-cq-bhS" firstAttribute="leading" secondItem="agk-kA-yKN" secondAttribute="leading" id="ySu-zB-xcX"/>
<constraint firstAttribute="trailing" secondItem="tWj-MW-BEZ" secondAttribute="trailing" id="KRJ-dI-RyW"/>
<constraint firstItem="tWj-MW-BEZ" firstAttribute="leading" secondItem="lIW-gM-F4p" secondAttribute="leading" id="Unc-PG-Sxh"/>
<constraint firstItem="tWj-MW-BEZ" firstAttribute="top" secondItem="lIW-gM-F4p" secondAttribute="top" id="bQO-0M-yYX"/>
</constraints>
</customView>
</subviews>
@ -934,9 +945,9 @@ DQ
<constraint firstAttribute="bottom" secondItem="lIW-gM-F4p" secondAttribute="bottom" id="6jE-yl-iES"/>
<constraint firstItem="Vnw-dm-nrd" firstAttribute="top" secondItem="qqg-dj-Man" secondAttribute="top" id="9gA-AG-lMS"/>
<constraint firstItem="lIW-gM-F4p" firstAttribute="leading" secondItem="qqg-dj-Man" secondAttribute="leading" id="B5V-Mj-U8A"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="leading" secondItem="Vnw-dm-nrd" secondAttribute="leading" id="IDZ-qL-1eM"/>
<constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="Vnw-dm-nrd" secondAttribute="trailing" id="Rrd-DL-xT3"/>
<constraint firstAttribute="bottom" secondItem="Vnw-dm-nrd" secondAttribute="bottom" priority="250" id="ZkX-Fo-kl8"/>
<constraint firstItem="agk-kA-yKN" firstAttribute="leading" secondItem="Vnw-dm-nrd" secondAttribute="leading" id="c7E-lN-RHw"/>
<constraint firstItem="lIW-gM-F4p" firstAttribute="top" secondItem="Vnw-dm-nrd" secondAttribute="bottom" constant="10" id="kSK-j0-Eig"/>
<constraint firstAttribute="trailing" secondItem="lIW-gM-F4p" secondAttribute="trailing" id="o4b-oC-rju"/>
<constraint firstItem="Vnw-dm-nrd" firstAttribute="leading" secondItem="qqg-dj-Man" secondAttribute="leading" constant="150" id="uEZ-ho-gyn"/>