vlc | branch: master | Marvin Scholz <epira...@gmail.com> | Wed Aug  9 18:42:54 
2017 +0200| [1e6338f41b72cb2416f707729bbb47b257421cb3] | committer: Marvin 
Scholz

macosx: Improve truncation of log messages

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e6338f41b72cb2416f707729bbb47b257421cb3
---

 modules/gui/macosx/UI/LogMessageWindow.xib | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/modules/gui/macosx/UI/LogMessageWindow.xib 
b/modules/gui/macosx/UI/LogMessageWindow.xib
index 98c0758ea9..79d1c01763 100644
--- a/modules/gui/macosx/UI/LogMessageWindow.xib
+++ b/modules/gui/macosx/UI/LogMessageWindow.xib
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" 
toolsVersion="12120" systemVersion="16E195" targetRuntime="MacOSX.Cocoa" 
propertyAccessControl="none" useAutolayout="YES" 
customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" 
toolsVersion="12121" systemVersion="16G24b" targetRuntime="MacOSX.Cocoa" 
propertyAccessControl="none" useAutolayout="YES" 
customObjectInstantitationMethod="direct">
     <dependencies>
         <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" 
version="12120"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" 
version="12121"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" 
customClass="VLCLogWindowController">
@@ -144,10 +144,12 @@
                                                                     <rect 
key="frame" x="157" y="1" width="321" height="17"/>
                                                                     
<autoresizingMask key="autoresizingMask" widthSizable="YES" 
heightSizable="YES"/>
                                                                     <subviews>
-                                                                        
<textField verticalHuggingPriority="750" 
horizontalCompressionResistancePriority="250" 
allowsCharacterPickerTouchBarItem="NO" 
translatesAutoresizingMaskIntoConstraints="NO" id="hdT-qU-xRy">
-                                                                            
<rect key="frame" x="0.0" y="0.0" width="321" height="17"/>
-                                                                            
<textFieldCell key="cell" lineBreakMode="truncatingTail" 
truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" title="Placeholder 
for the actual log message, this can be quite long, so let's see how this will 
look." id="ed5-yc-Kp5">
+                                                                        
<textField verticalHuggingPriority="750" 
horizontalCompressionResistancePriority="250" allowsExpansionToolTips="YES" 
allowsCharacterPickerTouchBarItem="NO" 
translatesAutoresizingMaskIntoConstraints="NO" id="hdT-qU-xRy">
+                                                                            
<rect key="frame" x="0.0" y="-9" width="321" height="35"/>
+                                                                            
<textFieldCell key="cell" lineBreakMode="truncatingTail" allowsUndo="NO" 
sendsActionOnEndEditing="YES" alignment="left" placeholderString="" 
usesSingleLineMode="YES" id="ed5-yc-Kp5">
                                                                                
 <font key="font" metaFont="system"/>
+                                                                               
 <string key="title">Placeholder for the actual log message, this can be quite 
long, so let's see how this will look.
+It can even span multiple lines</string>
                                                                                
 <color key="textColor" name="controlTextColor" catalog="System" 
colorSpace="catalog"/>
                                                                                
 <color key="backgroundColor" name="controlColor" catalog="System" 
colorSpace="catalog"/>
                                                                             
</textFieldCell>

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to