Author: everaldo
Date: 2007-11-20 10:20:16 -0500 (Tue, 20 Nov 2007)
New Revision: 89981

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>

        * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal 
        alignment. [Fixes #324228]



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-11-20 15:12:40 UTC (rev 89980)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-11-20 15:20:16 UTC (rev 89981)
@@ -1,3 +1,8 @@
+2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal 
+       alignment. [Fixes #324228]
+
 2007-11-19  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2007-11-20 15:12:40 UTC (rev 89980)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2007-11-20 15:20:16 UTC (rev 89981)
@@ -5133,7 +5133,7 @@
                        dc.FillRectangle (back_brush, control.ClientRectangle);
                        dc.DrawRectangle (SystemPens.WindowFrame, 0, 0, 
control.Width - 1, control.Height - 1);
 
-                       TextFormatFlags flags = TextFormatFlags.HidePrefix | 
TextFormatFlags.SingleLine | TextFormatFlags.VerticalCenter | 
TextFormatFlags.HorizontalCenter;
+                       TextFormatFlags flags = TextFormatFlags.HidePrefix | 
TextFormatFlags.SingleLine | TextFormatFlags.VerticalCenter;
                        TextRenderer.DrawTextInternal (dc, control.Text, 
control.Font, text_rect, foreground, flags, false);
                }
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to