Skip to content

Commit 29d5b34

Browse files
committed
<新建项目>、<设置项目> UI 微调
1 parent 7e5fa1c commit 29d5b34

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

Coding_iOS/Controllers/NewProject/NewProject.storyboard

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XS0-na-KM0" customClass="UIPlaceHolderTextView">
6060
<rect key="frame" x="16" y="13" width="296" height="93"/>
6161
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
62+
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
6263
<fontDescription key="fontDescription" type="system" pointSize="14"/>
6364
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
6465
</textView>

Coding_iOS/Controllers/ProjectSetting/ProjectSetting.storyboard

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</constraints>
3131
</imageView>
3232
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" enabled="NO" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="项目名称" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="1wU-rL-E1K">
33-
<rect key="frame" x="82" y="29" width="200" height="21"/>
33+
<rect key="frame" x="103" y="29" width="179" height="21"/>
3434
<constraints>
3535
<constraint firstAttribute="height" constant="21" id="apB-Ie-eRA"/>
3636
</constraints>
@@ -41,11 +41,20 @@
4141
<outlet property="delegate" destination="aBN-lC-vWq" id="KWl-P0-uvq"/>
4242
</connections>
4343
</textField>
44+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_project_private.png" translatesAutoresizingMaskIntoConstraints="NO" id="Q1S-eW-kft">
45+
<rect key="frame" x="82" y="33" width="13" height="13"/>
46+
<constraints>
47+
<constraint firstAttribute="height" constant="13" id="lf9-qr-Bx7"/>
48+
<constraint firstAttribute="width" constant="13" id="xVX-ar-52P"/>
49+
</constraints>
50+
</imageView>
4451
</subviews>
4552
<constraints>
53+
<constraint firstItem="1wU-rL-E1K" firstAttribute="leading" secondItem="Q1S-eW-kft" secondAttribute="trailing" constant="8" id="0oi-S5-x4x"/>
4654
<constraint firstAttribute="trailingMargin" relation="lessThanOrEqual" secondItem="1wU-rL-E1K" secondAttribute="trailing" constant="30" id="9lE-Bw-eeC"/>
47-
<constraint firstItem="1wU-rL-E1K" firstAttribute="leading" secondItem="wnT-zR-nIE" secondAttribute="trailing" constant="12" id="TQV-Lt-WVw"/>
55+
<constraint firstItem="Q1S-eW-kft" firstAttribute="leading" secondItem="wnT-zR-nIE" secondAttribute="trailing" constant="12" id="Dj5-ft-vvh"/>
4856
<constraint firstItem="1wU-rL-E1K" firstAttribute="top" secondItem="Fqp-oM-cmM" secondAttribute="topMargin" constant="21" id="eeX-Iw-Lf0"/>
57+
<constraint firstItem="Q1S-eW-kft" firstAttribute="top" secondItem="Fqp-oM-cmM" secondAttribute="topMargin" constant="25" id="gMb-gl-p5f"/>
4958
<constraint firstItem="wnT-zR-nIE" firstAttribute="leading" secondItem="Fqp-oM-cmM" secondAttribute="leadingMargin" constant="7" id="jeQ-le-K6x"/>
5059
<constraint firstItem="wnT-zR-nIE" firstAttribute="top" secondItem="Fqp-oM-cmM" secondAttribute="topMargin" constant="4" id="pf3-27-iaQ"/>
5160
</constraints>
@@ -59,6 +68,7 @@
5968
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sis-TG-0f8" customClass="UIPlaceHolderTextView">
6069
<rect key="frame" x="16" y="13" width="296" height="93"/>
6170
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
71+
<color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
6272
<fontDescription key="fontDescription" type="system" pointSize="14"/>
6373
<textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
6474
</textView>
@@ -118,7 +128,7 @@
118128
</tableViewController>
119129
<placeholder placeholderIdentifier="IBFirstResponder" id="XTZ-Sc-Qlw" userLabel="First Responder" sceneMemberID="firstResponder"/>
120130
</objects>
121-
<point key="canvasLocation" x="172.80000000000001" y="302.93333333333334"/>
131+
<point key="canvasLocation" x="172" y="300"/>
122132
</scene>
123133
<!--高级设置-->
124134
<scene sceneID="aKh-1D-3YA">
@@ -206,6 +216,9 @@
206216
<point key="canvasLocation" x="598" y="302"/>
207217
</scene>
208218
</scenes>
219+
<resources>
220+
<image name="icon_project_private.png" width="13" height="13"/>
221+
</resources>
209222
<simulatedMetricsContainer key="defaultSimulatedMetrics">
210223
<simulatedStatusBarMetrics key="statusBar"/>
211224
<simulatedOrientationMetrics key="orientation"/>

0 commit comments

Comments
 (0)