Skip to content

Commit 0b72efb

Browse files
committed
fixed resizing
1 parent d0a1bb5 commit 0b72efb

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

TinyPlanet/Base.lproj/Main.storyboard

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -684,11 +684,11 @@
684684
<objects>
685685
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="TinyPlanet" customModuleProvider="target" sceneMemberID="viewController">
686686
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
687-
<rect key="frame" x="0.0" y="0.0" width="547" height="929"/>
687+
<rect key="frame" x="0.0" y="0.0" width="547" height="450"/>
688688
<autoresizingMask key="autoresizingMask"/>
689689
<subviews>
690690
<segmentedControl verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oob-o7-bnu">
691-
<rect key="frame" x="154" y="896" width="240" height="24"/>
691+
<rect key="frame" x="154" y="417" width="240" height="24"/>
692692
<segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="ucO-JD-B2x">
693693
<font key="font" metaFont="system"/>
694694
<segments>
@@ -727,14 +727,6 @@
727727
<action selector="loadButtonClicked:" target="XfG-lQ-9wD" id="J7B-fG-q3t"/>
728728
</connections>
729729
</button>
730-
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="iiS-Sw-2AY">
731-
<rect key="frame" x="10" y="88" width="527" height="800"/>
732-
<constraints>
733-
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="800" id="Msh-iQ-hTQ"/>
734-
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="200" id="rws-mi-fS7"/>
735-
</constraints>
736-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="G06-7X-ISs"/>
737-
</imageView>
738730
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPe-zI-YOZ">
739731
<rect key="frame" x="255" y="61" width="37" height="17"/>
740732
<constraints>
@@ -756,20 +748,21 @@
756748
<action selector="chagePreviewMode:" target="XfG-lQ-9wD" id="ZeG-sm-F7Q"/>
757749
</connections>
758750
</button>
751+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="iiS-Sw-2AY">
752+
<rect key="frame" x="123" y="123" width="300" height="250"/>
753+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
754+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="G06-7X-ISs"/>
755+
</imageView>
759756
</subviews>
760757
<constraints>
761-
<constraint firstItem="iiS-Sw-2AY" firstAttribute="leading" secondItem="m2S-Jp-Qdl" secondAttribute="leading" constant="10" id="7Lp-dn-dIC"/>
762758
<constraint firstItem="oob-o7-bnu" firstAttribute="centerX" secondItem="m2S-Jp-Qdl" secondAttribute="centerX" id="98Z-V6-u58"/>
763-
<constraint firstAttribute="trailing" secondItem="iiS-Sw-2AY" secondAttribute="trailing" constant="10" id="AS4-47-hvL"/>
764759
<constraint firstItem="Dkv-Z4-KxA" firstAttribute="leading" secondItem="Wgo-Nh-Ng9" secondAttribute="leading" id="AsD-j8-mEI"/>
765-
<constraint firstItem="fPe-zI-YOZ" firstAttribute="top" secondItem="iiS-Sw-2AY" secondAttribute="bottom" constant="10" id="Gmg-mL-yLA"/>
766760
<constraint firstItem="Wgo-Nh-Ng9" firstAttribute="width" secondItem="m2S-Jp-Qdl" secondAttribute="width" multiplier="2:3" id="NIU-MA-ScK"/>
767761
<constraint firstItem="oob-o7-bnu" firstAttribute="top" secondItem="m2S-Jp-Qdl" secondAttribute="top" constant="10" id="O8f-es-Bpw"/>
768762
<constraint firstItem="zaf-xC-u0k" firstAttribute="centerX" secondItem="m2S-Jp-Qdl" secondAttribute="centerX" id="UM8-RS-YPc"/>
769763
<constraint firstAttribute="bottom" secondItem="zaf-xC-u0k" secondAttribute="bottom" constant="10" id="Xv4-1l-VV0"/>
770764
<constraint firstItem="Wgo-Nh-Ng9" firstAttribute="top" secondItem="fPe-zI-YOZ" secondAttribute="bottom" constant="10" id="Ydb-jN-3cZ"/>
771765
<constraint firstItem="Dkv-Z4-KxA" firstAttribute="top" secondItem="Wgo-Nh-Ng9" secondAttribute="bottom" constant="10" id="dCB-tt-KS6"/>
772-
<constraint firstItem="iiS-Sw-2AY" firstAttribute="top" secondItem="oob-o7-bnu" secondAttribute="bottom" constant="10" id="dgZ-cO-NSG"/>
773766
<constraint firstItem="Wgo-Nh-Ng9" firstAttribute="centerX" secondItem="m2S-Jp-Qdl" secondAttribute="centerX" id="gts-9n-QEo"/>
774767
<constraint firstAttribute="bottom" secondItem="Dkv-Z4-KxA" secondAttribute="bottom" constant="10" id="nOc-Cg-Nsu"/>
775768
<constraint firstAttribute="bottom" secondItem="xuz-Be-7Xq" secondAttribute="bottom" constant="10" id="nQr-zO-xxY"/>

TinyPlanet/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>1.0</string>
20+
<string>1.0.1</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>2</string>
2323
<key>LSMinimumSystemVersion</key>
2424
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
2525
<key>NSHumanReadableCopyright</key>

0 commit comments

Comments
 (0)