[vlc-commits] macosx: Specify preferred layout width for MainWindow
Marvin Scholz
git at videolan.org
Tue Jul 25 02:57:55 CEST 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Tue Jul 25 02:50:44 2017 +0200| [935eece4d19dcd044cbe256c7c76a659750957c9] | committer: Marvin Scholz
macosx: Specify preferred layout width for MainWindow
Automatic layout width is not supported on 10.7, so it can't be used.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=935eece4d19dcd044cbe256c7c76a659750957c9
---
modules/gui/macosx/UI/MainWindow.xib | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/gui/macosx/UI/MainWindow.xib b/modules/gui/macosx/UI/MainWindow.xib
index 0aaa546be6..5bc6939176 100644
--- a/modules/gui/macosx/UI/MainWindow.xib
+++ b/modules/gui/macosx/UI/MainWindow.xib
@@ -815,13 +815,13 @@
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="265" y="520" width="612" height="157"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
- <value key="minSize" type="size" width="612" height="159"/>
+ <value key="minSize" type="size" width="612" height="157"/>
<value key="maxSize" type="size" width="612" height="159"/>
<view key="contentView" id="5266">
<rect key="frame" x="0.0" y="0.0" width="612" height="157"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5275">
+ <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" preferredMaxLayoutWidth="572" translatesAutoresizingMaskIntoConstraints="NO" id="5275">
<rect key="frame" x="18" y="120" width="576" height="17"/>
<textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" title="Subscribe to a podcast" id="5276">
<font key="font" metaFont="systemBold"/>
@@ -829,7 +829,7 @@
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
- <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5274">
+ <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" preferredMaxLayoutWidth="572" translatesAutoresizingMaskIntoConstraints="NO" id="5274">
<rect key="frame" x="18" y="98" width="576" height="14"/>
<textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" title="Enter URL of the podcast to subscribe to:" usesSingleLineMode="YES" id="5277">
<font key="font" metaFont="smallSystem"/>
@@ -895,13 +895,13 @@ Gw
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="265" y="520" width="612" height="156"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
- <value key="minSize" type="size" width="612" height="159"/>
+ <value key="minSize" type="size" width="612" height="156"/>
<value key="maxSize" type="size" width="612" height="159"/>
<view key="contentView" id="5306">
<rect key="frame" x="0.0" y="0.0" width="612" height="156"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5311">
+ <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" preferredMaxLayoutWidth="572" translatesAutoresizingMaskIntoConstraints="NO" id="5311">
<rect key="frame" x="18" y="119" width="576" height="17"/>
<textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" title="Unsubscribe from a podcast" id="5312">
<font key="font" metaFont="systemBold"/>
@@ -909,7 +909,7 @@ Gw
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
- <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5310">
+ <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" allowsCharacterPickerTouchBarItem="NO" preferredMaxLayoutWidth="572" translatesAutoresizingMaskIntoConstraints="NO" id="5310">
<rect key="frame" x="18" y="97" width="576" height="14"/>
<textFieldCell key="cell" selectable="YES" sendsActionOnEndEditing="YES" title="Select the podcast you would like to unsubscribe from:" usesSingleLineMode="YES" id="5313">
<font key="font" metaFont="smallSystem"/>
More information about the vlc-commits
mailing list