[vlc-devel] [PATCH] macosx: Make AddonManager DescriptionView size smaller

Marvin Scholz epirat07 at gmail.com
Fri Jun 17 20:24:44 CEST 2016


This allows the text to fit in the view width, so
that you do not have to scroll horizontally,
which makes it much easier to read descriptions.
---
 .../macosx/Resources/English.lproj/AddonManager.xib    | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/extras/package/macosx/Resources/English.lproj/AddonManager.xib b/extras/package/macosx/Resources/English.lproj/AddonManager.xib
index 60d032b..282e50c 100644
--- a/extras/package/macosx/Resources/English.lproj/AddonManager.xib
+++ b/extras/package/macosx/Resources/English.lproj/AddonManager.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">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <deployment identifier="macosx"/>
         <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9531"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
         <capability name="box content view" minToolsVersion="7.0"/>
     </dependencies>
     <objects>
@@ -28,7 +28,7 @@
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="194" width="568" height="316"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="1680" height="1027"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
             <value key="minSize" type="size" width="568" height="316"/>
             <value key="maxSize" type="size" width="568" height="316"/>
             <view key="contentView" id="2">
@@ -158,18 +158,18 @@
                                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <scrollView borderType="none" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="28">
+                                <scrollView borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" translatesAutoresizingMaskIntoConstraints="NO" id="28">
                                     <rect key="frame" x="17" y="44" width="228" height="163"/>
                                     <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="lzi-cw-M1T">
                                         <rect key="frame" x="0.0" y="0.0" width="228" height="163"/>
                                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                         <subviews>
-                                            <textView editable="NO" drawsBackground="NO" importsGraphics="NO" richText="NO" findStyle="panel" continuousSpellChecking="YES" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" spellingCorrection="YES" smartInsertDelete="YES" id="35">
-                                                <rect key="frame" x="0.0" y="0.0" width="408" height="163"/>
+                                            <textView editable="NO" drawsBackground="NO" importsGraphics="NO" richText="NO" findStyle="panel" usesRuler="YES" usesFontPanel="YES" verticallyResizable="YES" allowsNonContiguousLayout="YES" quoteSubstitution="YES" dashSubstitution="YES" smartInsertDelete="YES" id="35">
+                                                <rect key="frame" x="0.0" y="0.0" width="228" height="163"/>
                                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                                 <size key="minSize" width="228" height="163"/>
-                                                <size key="maxSize" width="463" height="10000000"/>
+                                                <size key="maxSize" width="228" height="10000000"/>
                                                 <attributedString key="textStorage">
                                                     <fragment>
                                                         <string key="content">Is a million miles from here
@@ -184,7 +184,7 @@ I've never been this far away from home</string>
                                                 </attributedString>
                                                 <color key="insertionPointColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                                 <size key="minSize" width="228" height="163"/>
-                                                <size key="maxSize" width="463" height="10000000"/>
+                                                <size key="maxSize" width="228" height="10000000"/>
                                             </textView>
                                         </subviews>
                                         <color key="backgroundColor" name="windowBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -193,7 +193,7 @@ I've never been this far away from home</string>
                                         <rect key="frame" x="-100" y="-100" width="87" height="18"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                     </scroller>
-                                    <scroller key="verticalScroller" verticalHuggingPriority="750" horizontal="NO" id="36">
+                                    <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="36">
                                         <rect key="frame" x="212" y="0.0" width="16" height="163"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                     </scroller>
-- 
2.7.4 (Apple Git-66)



More information about the vlc-devel mailing list