Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit f8c0f0d

Browse files
committed
UI adjustment
1 parent c2e8513 commit f8c0f0d

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed

V2RayX/AdvancedWindow.xib

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Gw
175175
<autoresizingMask key="autoresizingMask"/>
176176
</scroller>
177177
</scrollView>
178-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RZC-B9-mJC">
178+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="458" translatesAutoresizingMaskIntoConstraints="NO" id="RZC-B9-mJC">
179179
<rect key="frame" x="17" y="315" width="462" height="42"/>
180180
<autoresizingMask key="autoresizingMask"/>
181181
<textFieldCell key="cell" id="GuN-KN-aPK">
@@ -237,7 +237,7 @@ Gw
237237
<autoresizingMask key="autoresizingMask"/>
238238
</scroller>
239239
</scrollView>
240-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="22V-dc-UXp">
240+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="458" translatesAutoresizingMaskIntoConstraints="NO" id="22V-dc-UXp">
241241
<rect key="frame" x="17" y="313" width="462" height="42"/>
242242
<autoresizingMask key="autoresizingMask"/>
243243
<textFieldCell key="cell" title="Save your airport subscription link here and refresh config from server list in menubar icon." id="qfa-aV-cmn">
@@ -640,7 +640,7 @@ Gw
640640
<autoresizingMask key="autoresizingMask"/>
641641
</scroller>
642642
</scrollView>
643-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="455-Tq-ULi">
643+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="458" translatesAutoresizingMaskIntoConstraints="NO" id="455-Tq-ULi">
644644
<rect key="frame" x="17" y="315" width="462" height="42"/>
645645
<autoresizingMask key="autoresizingMask"/>
646646
<textFieldCell key="cell" title="To fully take control of the V2Ray core, directly provide the full path to complete configure files below." id="sQg-oW-z1H">
@@ -678,7 +678,7 @@ Gw
678678
<rect key="frame" x="10" y="33" width="494" height="360"/>
679679
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
680680
<subviews>
681-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Vky-bm-RTr">
681+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="458" translatesAutoresizingMaskIntoConstraints="NO" id="Vky-bm-RTr">
682682
<rect key="frame" x="15" y="297" width="462" height="60"/>
683683
<autoresizingMask key="autoresizingMask"/>
684684
<textFieldCell key="cell" id="a4D-MW-Gqf">
@@ -708,7 +708,7 @@ Gw
708708
<action selector="showCorePath:" target="-2" id="3lR-d7-lFL"/>
709709
</connections>
710710
</button>
711-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Tfr-JR-7kn">
711+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="415" translatesAutoresizingMaskIntoConstraints="NO" id="Tfr-JR-7kn">
712712
<rect key="frame" x="17" y="218" width="419" height="17"/>
713713
<autoresizingMask key="autoresizingMask"/>
714714
<textFieldCell key="cell" title="Make sure the following files are present:" id="1Vl-aE-8sN">
@@ -812,7 +812,7 @@ Gw
812812
<rect key="frame" x="0.0" y="0.0" width="530" height="194"/>
813813
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
814814
<subviews>
815-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="uei-XJ-a4J">
815+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="495" translatesAutoresizingMaskIntoConstraints="NO" id="uei-XJ-a4J">
816816
<rect key="frame" x="18" y="12" width="499" height="170"/>
817817
<autoresizingMask key="autoresizingMask"/>
818818
<textFieldCell key="cell" id="GeG-md-J3l">
@@ -836,7 +836,7 @@ balance: v2ray will randomly pickup an outbound from all
836836
<rect key="frame" x="0.0" y="0.0" width="438" height="380"/>
837837
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
838838
<subviews>
839-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ePw-bH-ogO">
839+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="398" translatesAutoresizingMaskIntoConstraints="NO" id="ePw-bH-ogO">
840840
<rect key="frame" x="18" y="20" width="402" height="340"/>
841841
<autoresizingMask key="autoresizingMask"/>
842842
<textFieldCell key="cell" id="EXS-dL-5V7">

V2RayX/ConfigWindow.xib

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
</connections>
345345
</textField>
346346
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="tMD-b4-w2E">
347-
<rect key="frame" x="248" y="8" width="105" height="26"/>
347+
<rect key="frame" x="230" y="8" width="123" height="26"/>
348348
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
349349
<popUpButtonCell key="cell" type="push" title="tcp" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="Jhw-Hk-xHQ" id="07T-9g-FQm">
350350
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@@ -379,15 +379,6 @@
379379
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
380380
</textFieldCell>
381381
</textField>
382-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c51-zU-mXj">
383-
<rect key="frame" x="184" y="13" width="59" height="17"/>
384-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
385-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Network:" id="Dkz-gS-91s">
386-
<font key="font" metaFont="system"/>
387-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
388-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
389-
</textFieldCell>
390-
</textField>
391382
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Dbo-ml-2p8">
392383
<rect key="frame" x="73" y="71" width="214" height="26"/>
393384
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -442,6 +433,15 @@
442433
</binding>
443434
</connections>
444435
</textField>
436+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c51-zU-mXj">
437+
<rect key="frame" x="167" y="13" width="59" height="17"/>
438+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
439+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Network:" id="Dkz-gS-91s">
440+
<font key="font" metaFont="system"/>
441+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
442+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
443+
</textFieldCell>
444+
</textField>
445445
</subviews>
446446
</view>
447447
</box>
@@ -466,7 +466,7 @@
466466
</textFieldCell>
467467
</textField>
468468
<popUpButton verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="WBJ-AN-z5m">
469-
<rect key="frame" x="84" y="17" width="85" height="26"/>
469+
<rect key="frame" x="84" y="17" width="113" height="26"/>
470470
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
471471
<popUpButtonCell key="cell" type="push" title="none" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="foI-bt-EyF" id="7bE-Sh-fzE">
472472
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
@@ -498,17 +498,6 @@
498498
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
499499
</textFieldCell>
500500
</textField>
501-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Uv6-cA-e87">
502-
<rect key="frame" x="181" y="21" width="62" height="17"/>
503-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
504-
<buttonCell key="cell" type="inline" title="show log" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="gkD-dq-Peq">
505-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
506-
<font key="font" metaFont="smallSystemBold"/>
507-
</buttonCell>
508-
<connections>
509-
<action selector="showLog:" target="-2" id="y4o-h5-PjK"/>
510-
</connections>
511-
</button>
512501
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="3p9-Ay-GbW">
513502
<rect key="frame" x="425" y="49" width="112" height="32"/>
514503
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -585,6 +574,17 @@ Gw
585574
<action selector="addRemoveServer:" target="-2" id="o8X-ua-ltZ"/>
586575
</connections>
587576
</segmentedControl>
577+
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Uv6-cA-e87">
578+
<rect key="frame" x="207" y="21" width="62" height="17"/>
579+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
580+
<buttonCell key="cell" type="inline" title="show log" bezelStyle="inline" alignment="center" borderStyle="border" inset="2" id="gkD-dq-Peq">
581+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
582+
<font key="font" metaFont="smallSystemBold"/>
583+
</buttonCell>
584+
<connections>
585+
<action selector="showLog:" target="-2" id="y4o-h5-PjK"/>
586+
</connections>
587+
</button>
588588
</subviews>
589589
</view>
590590
<point key="canvasLocation" x="73.5" y="128"/>
@@ -624,7 +624,7 @@ Gw
624624
<rect key="frame" x="0.0" y="0.0" width="163" height="96"/>
625625
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
626626
<subviews>
627-
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fLh-mA-BaL">
627+
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" preferredMaxLayoutWidth="136" translatesAutoresizingMaskIntoConstraints="NO" id="fLh-mA-BaL">
628628
<rect key="frame" x="11" y="10" width="140" height="76"/>
629629
<autoresizingMask key="autoresizingMask"/>
630630
<textFieldCell key="cell" selectable="YES" title="Multiline Label" id="fni-U3-ufg">

V2RayX/TransportWindow.xib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
</view>
416416
</tabViewItem>
417417
<tabViewItem label="QUIC" identifier="" id="DRH-Zh-vX2">
418-
<view key="view" id="ana-nP-yKk">
418+
<view key="view" ambiguous="YES" id="ana-nP-yKk">
419419
<rect key="frame" x="10" y="33" width="477" height="135"/>
420420
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
421421
<subviews>
@@ -473,7 +473,7 @@
473473
<menu key="menu" id="fXc-My-Va9"/>
474474
</popUpButtonCell>
475475
</popUpButton>
476-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZrD-hV-LQf">
476+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" preferredMaxLayoutWidth="444" translatesAutoresizingMaskIntoConstraints="NO" id="ZrD-hV-LQf">
477477
<rect key="frame" x="14" y="6" width="448" height="33"/>
478478
<autoresizingMask key="autoresizingMask"/>
479479
<textFieldCell key="cell" id="vZ8-pU-aE3">
@@ -487,7 +487,7 @@
487487
</view>
488488
</tabViewItem>
489489
<tabViewItem label="TLS" identifier="" id="sCQ-Dt-YCG">
490-
<view key="view" ambiguous="YES" id="yce-Q2-W28">
490+
<view key="view" id="yce-Q2-W28">
491491
<rect key="frame" x="10" y="33" width="477" height="135"/>
492492
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
493493
<subviews>

0 commit comments

Comments
 (0)