[vlc-commits] macosx: Fix height of playlist export accessory view
Marvin Scholz
git at videolan.org
Wed Oct 4 22:35:07 CEST 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Oct 4 22:34:37 2017 +0200| [2dc1cb57f40faa3747729c879a9b0430acc0ab1d] | committer: Marvin Scholz
macosx: Fix height of playlist export accessory view
Fix #18891
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2dc1cb57f40faa3747729c879a9b0430acc0ab1d
---
modules/gui/macosx/UI/PlaylistAccessoryView.xib | 40 ++++++++++++++-----------
1 file changed, 23 insertions(+), 17 deletions(-)
diff --git a/modules/gui/macosx/UI/PlaylistAccessoryView.xib b/modules/gui/macosx/UI/PlaylistAccessoryView.xib
index 725c621e11..04759db84d 100644
--- a/modules/gui/macosx/UI/PlaylistAccessoryView.xib
+++ b/modules/gui/macosx/UI/PlaylistAccessoryView.xib
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="12121" systemVersion="17B25c" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
<dependencies>
<deployment version="1070" identifier="macosx"/>
<development version="7000" identifier="xcode"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="12121"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner" customClass="VLCMainMenu">
@@ -16,19 +16,11 @@
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<customView id="1" userLabel="SaveAccessoryView">
- <rect key="frame" x="0.0" y="0.0" width="374" height="40"/>
- <autoresizingMask key="autoresizingMask"/>
+ <rect key="frame" x="0.0" y="0.0" width="384" height="39"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
- <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="2">
- <rect key="frame" x="13" y="12" width="76" height="17"/>
- <textFieldCell key="cell" sendsActionOnEndEditing="YES" title="File Format:" id="9">
- <font key="font" metaFont="system"/>
- <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- </textField>
<popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3">
- <rect key="frame" x="96" y="7" width="267" height="26"/>
+ <rect key="frame" x="105" y="6" width="268" height="26"/>
<popUpButtonCell key="cell" type="push" title="Extended M3U" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" inset="2" arrowPosition="arrowAtCenter" preferredEdge="maxY" selectedItem="7" id="4">
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="menu"/>
@@ -41,15 +33,29 @@
</menu>
</popUpButtonCell>
</popUpButton>
+ <textField horizontalHuggingPriority="150" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2">
+ <rect key="frame" x="11" y="11" width="90" height="17"/>
+ <constraints>
+ <constraint firstAttribute="height" constant="17" id="QVK-zK-EZq"/>
+ <constraint firstAttribute="width" constant="86" id="nC1-Qm-yuV"/>
+ </constraints>
+ <textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="left" title="File Format:" usesSingleLineMode="YES" id="9">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
</subviews>
<constraints>
- <constraint firstItem="3" firstAttribute="leading" secondItem="2" secondAttribute="trailing" constant="11" id="5s2-Ut-CYG"/>
- <constraint firstItem="2" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="15" id="Fe1-XU-wIa"/>
+ <constraint firstItem="2" firstAttribute="top" secondItem="1" secondAttribute="top" constant="11" id="3a2-5d-kdq"/>
+ <constraint firstItem="3" firstAttribute="leading" secondItem="2" secondAttribute="trailing" constant="8" id="5s2-Ut-CYG"/>
+ <constraint firstItem="2" firstAttribute="leading" secondItem="1" secondAttribute="leading" constant="13" id="Fe1-XU-wIa"/>
<constraint firstItem="3" firstAttribute="centerY" secondItem="2" secondAttribute="centerY" id="OTX-0S-cmU"/>
+ <constraint firstAttribute="bottom" secondItem="2" secondAttribute="bottom" constant="11" id="PMa-7j-M4R"/>
<constraint firstAttribute="trailing" secondItem="3" secondAttribute="trailing" constant="14" id="Rhz-TO-tdh"/>
<constraint firstItem="2" firstAttribute="centerY" secondItem="1" secondAttribute="centerY" id="dRs-Vr-PuE"/>
</constraints>
- <point key="canvasLocation" x="423" y="447"/>
+ <point key="canvasLocation" x="423" y="446.5"/>
</customView>
</objects>
</document>
More information about the vlc-commits
mailing list