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

Commit 2f500f0

Browse files
authored
Merge pull request #524 from xamarin/dominique-MakeStandAlonePropertyEditorLike
Resize storyboard so on startup stand-alone is closer to property...
2 parents 6585cc3 + 0250161 commit 2f500f0

File tree

1 file changed

+32
-43
lines changed

1 file changed

+32
-43
lines changed

Xamarin.PropertyEditing.Mac.Standalone/Main.storyboard

Lines changed: 32 additions & 43 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.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14313.18"/>
66
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
77
</dependencies>
88
<scenes>
@@ -652,7 +652,7 @@
652652
<scene sceneID="R2V-B0-nI4">
653653
<objects>
654654
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
655-
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
655+
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
656656
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
657657
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
658658
<rect key="contentRect" x="196" y="240" width="480" height="270"/>
@@ -674,54 +674,21 @@
674674
<objects>
675675
<viewController id="XfG-lQ-9wD" customClass="ViewController" sceneMemberID="viewController">
676676
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
677-
<rect key="frame" x="0.0" y="0.0" width="648" height="270"/>
677+
<rect key="frame" x="0.0" y="0.0" width="314" height="511"/>
678678
<autoresizingMask key="autoresizingMask"/>
679679
<subviews>
680-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Lao-X4-Foo">
681-
<rect key="frame" x="1" y="236" width="110" height="32"/>
682-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
683-
<buttonCell key="cell" type="push" title="Mocked 1" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0bJ-RB-Foo" customClass="MockedSampleControlButton">
684-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
685-
<font key="font" metaFont="system"/>
686-
</buttonCell>
687-
<connections>
688-
<action selector="OnClickEvent:" target="XfG-lQ-9wD" id="CqZ-JO-Foo"/>
689-
</connections>
690-
</button>
691-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Lao-X4-Bar">
692-
<rect key="frame" x="111" y="236" width="110" height="32"/>
693-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
694-
<buttonCell key="cell" type="push" title="Mocked 2" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0bJ-RB-Bar" customClass="MockedSampleControlButton">
695-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
696-
<font key="font" metaFont="system"/>
697-
</buttonCell>
698-
<connections>
699-
<action selector="OnClickEvent:" target="XfG-lQ-9wD" id="CqZ-JO-Bar"/>
700-
</connections>
701-
</button>
702-
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Lao-X4-NZl">
703-
<rect key="frame" x="221" y="236" width="110" height="32"/>
704-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
705-
<buttonCell key="cell" type="push" title="Mock AppKit" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0bJ-RB-L5x" customClass="MockedAppKitButton">
706-
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
707-
<font key="font" metaFont="system"/>
708-
</buttonCell>
709-
<connections>
710-
<action selector="OnClickEvent:" target="XfG-lQ-9wD" id="CqZ-JO-awR"/>
711-
</connections>
712-
</button>
713680
<customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Iru-Rx-5Kw" customClass="PropertyEditorPanel">
714-
<rect key="frame" x="0.0" y="0.0" width="648" height="233"/>
681+
<rect key="frame" x="0.0" y="0.0" width="314" height="451"/>
715682
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
716683
</customView>
717684
<segmentedControl verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="p4n-Th-xBf">
718-
<rect key="frame" x="449" y="241" width="187" height="24"/>
685+
<rect key="frame" x="4" y="457" width="302" height="24"/>
719686
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
720687
<segmentedCell key="cell" borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne" id="qr0-t0-q16">
721688
<font key="font" metaFont="system"/>
722689
<segments>
723-
<segment label="Dark" width="61"/>
724-
<segment label="Light" width="61" selected="YES" tag="1"/>
690+
<segment label="Dark" width="119"/>
691+
<segment label="Light" width="118" selected="YES" tag="1"/>
725692
<segment label="None"/>
726693
</segments>
727694
</segmentedCell>
@@ -730,7 +697,7 @@
730697
</connections>
731698
</segmentedControl>
732699
<button identifier="selectMode" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Z5z-Qc-Eab">
733-
<rect key="frame" x="331" y="245" width="121" height="18"/>
700+
<rect key="frame" x="185" y="486" width="121" height="18"/>
734701
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
735702
<buttonCell key="cell" type="check" title="Add to selection" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="JcR-tG-jDO">
736703
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
@@ -740,6 +707,28 @@
740707
<action selector="OnSelectionModeChanged:" target="XfG-lQ-9wD" id="2Rt-ro-wUX"/>
741708
</connections>
742709
</button>
710+
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Lao-X4-Foo">
711+
<rect key="frame" x="0.0" y="477" width="80" height="32"/>
712+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
713+
<buttonCell key="cell" type="push" title="Mock 1" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0bJ-RB-Foo" customClass="MockedSampleControlButton">
714+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
715+
<font key="font" metaFont="system"/>
716+
</buttonCell>
717+
<connections>
718+
<action selector="OnClickEvent:" target="XfG-lQ-9wD" id="CqZ-JO-Foo"/>
719+
</connections>
720+
</button>
721+
<button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Lao-X4-Bar">
722+
<rect key="frame" x="80" y="477" width="75" height="32"/>
723+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
724+
<buttonCell key="cell" type="push" title="Mock 2" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="0bJ-RB-Bar" customClass="MockedSampleControlButton">
725+
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
726+
<font key="font" metaFont="system"/>
727+
</buttonCell>
728+
<connections>
729+
<action selector="OnClickEvent:" target="XfG-lQ-9wD" id="CqZ-JO-Bar"/>
730+
</connections>
731+
</button>
743732
</subviews>
744733
</view>
745734
<connections>
@@ -748,7 +737,7 @@
748737
</viewController>
749738
<customObject id="rPt-NT-nkU" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
750739
</objects>
751-
<point key="canvasLocation" x="159" y="655"/>
740+
<point key="canvasLocation" x="-8" y="775.5"/>
752741
</scene>
753742
</scenes>
754743
</document>

0 commit comments

Comments
 (0)