Fix small UI alignments.

This commit is contained in:
Damiano Galassi committed 2016-11-16 13:14:37 +01:00
1 parent 9085bb2478
commit 1651058a6e
4 files changed
+35 -34

No files matched your search

+4 -4
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11761" systemVersion="16C48b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11542"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11761"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -282,8 +282,8 @@ Gw
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750" id="98">
<rect key="frame" x="14" y="12" width="63" height="17"/>
<textField verticalHuggingPriority="750" misplaced="YES" id="98">
<rect key="frame" x="2" y="12" width="75" height="17"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="right" title="Season #" id="99">
<font key="font" metaFont="system"/>
+7 -7
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16C41b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16C48b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11542"/>
@@ -144,8 +144,8 @@
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="4Tn-KL-e86"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="Iau-lm-QMb"/>
<toolbarItem implicitItemIdentifier="3A987BC3-AE8F-4D56-8562-D2F37B9DA021" label="Add Item" paletteLabel="Add Item" toolTip="Add an item to the queue" image="NSAddTemplate" id="mbj-v3-fFG" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="24"/>
<button key="view" verticalHuggingPriority="750" id="sUh-2y-iie">
<rect key="frame" x="9" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -159,8 +159,8 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="403860A1-8562-4F5B-BBEE-E8C1270A9077" label="Settings" paletteLabel="Settings" toolTip="Show/hide settings" image="NSActionTemplate" id="Qif-lh-Rps" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="24"/>
<button key="view" verticalHuggingPriority="750" id="tU5-DL-6vU">
<rect key="frame" x="8" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
@@ -174,8 +174,8 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="90FECCE0-5997-4C12-9158-9F7391313970" label="Start" paletteLabel="Start" toolTip="Start/stop queue" image="playBackTemplate" id="xeY-tT-tF2" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="24"/>
<button key="view" verticalHuggingPriority="750" id="sOU-an-jdB">
<rect key="frame" x="0.0" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+21 -22
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16C41b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11542" systemVersion="16C48b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11542"/>
@@ -357,13 +357,12 @@
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="100319"/>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="100320"/>
<toolbarItem implicitItemIdentifier="NSToolbarSeparatorItem" id="100321"/>
<toolbarItem implicitItemIdentifier="DC77B3B0-CBA9-42AF-99B1-40835CE740E8" label="Toolbar Item" paletteLabel="Toolbar Item" tag="-1" id="EU1-g7-PAy"/>
<toolbarItem implicitItemIdentifier="D2E8E21C-DCD4-456F-B15A-9AC0AA5556DF" label="Import" paletteLabel="Import" toolTip="Import tracks from external files" image="NSAddTemplate" id="q3d-mv-KiV" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="28"/>
<button key="view" verticalHuggingPriority="750" id="9Ap-vv-70i">
<rect key="frame" x="3" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSAddTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="AQ2-uT-j34">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -374,11 +373,11 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="5B6FDF6D-9486-49B2-8EA4-184D76D0864C" label="Delete Track" paletteLabel="Delete Track" toolTip="Delete the selected track" image="ToolbarRemoveTemplate" id="S3Y-pp-4q3" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="28"/>
<button key="view" verticalHuggingPriority="750" id="v1q-Kq-a3i">
<rect key="frame" x="19" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToolbarRemoveTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="8VM-fA-aI5">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -389,12 +388,12 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="66402BE4-4A7B-4048-A584-2BC0F5E69600" label="Search Metadata" paletteLabel="Search Metadata" toolTip="Search metadata on the web" image="NSRevealFreestandingTemplate" id="Q2q-Vv-Qt7" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="24"/>
<button key="view" verticalHuggingPriority="750" id="J1D-OD-RyX">
<rect key="frame" x="31" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSRevealFreestandingTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="519-cF-OxE">
<rect key="frame" x="31" y="14" width="36" height="24"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSRevealFreestandingTemplate" imagePosition="overlaps" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="519-cF-OxE">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
@@ -404,11 +403,11 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="C90398D0-2F66-43E9-8B04-6CCD8DDA90D2" label="Search Chapters" paletteLabel="Search Chapters" toolTip="Search chapters on the web" image="ToolbarChaptersTemplate" id="Srh-TP-1hf" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="28"/>
<button key="view" verticalHuggingPriority="750" id="iya-i9-RSa">
<rect key="frame" x="30" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToolbarChaptersTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="euM-l1-N2a">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -419,11 +418,11 @@
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="9F789D5F-C25E-449F-ABCE-DDF99B4FF988" label="Send to Queue" paletteLabel="Send to Queue" toolTip="Send the current document to the queue" image="ToolbarActionTemplate" id="APi-CJ-dh2" customClass="ButtonToolbarItem">
<size key="minSize" width="36" height="28"/>
<size key="maxSize" width="36" height="32"/>
<size key="minSize" width="36" height="24"/>
<size key="maxSize" width="36" height="28"/>
<button key="view" verticalHuggingPriority="750" id="lvx-ga-BAF">
<rect key="frame" x="25" y="14" width="36" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="ToolbarActionTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ejq-HX-qca">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
@@ -435,11 +434,11 @@
</toolbarItem>
<toolbarItem implicitItemIdentifier="2E3AB086-491A-436E-A610-14E36AEE8F49" label="Action" paletteLabel="Action" image="NSActionTemplate" id="zUI-mH-Ex4">
<nil key="toolTip"/>
<size key="minSize" width="38" height="28"/>
<size key="minSize" width="38" height="24"/>
<size key="maxSize" width="40" height="28"/>
<popUpButton key="view" verticalHuggingPriority="750" id="JYe-b9-2AX">
<rect key="frame" x="2" y="14" width="38" height="28"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES"/>
<popUpButtonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" pullsDown="YES" id="1Gc-Er-ewA">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
@@ -540,7 +539,7 @@
<connections>
<outlet property="delegate" destination="-2" id="17"/>
</connections>
<point key="canvasLocation" x="161" y="-436"/>
<point key="canvasLocation" x="327" y="-419"/>
</window>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="100175" userLabel="Saving">
+3 -1
View File
@@ -130,7 +130,9 @@
view.hidden = YES;
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
context.allowsImplicitAnimation = YES;
if (NSClassFromString(@"NSVisualEffectView")) {
context.allowsImplicitAnimation = YES;
}
[window layoutIfNeeded];
} completionHandler:^{