Author: jpobst
Date: 2007-11-20 16:29:23 -0500 (Tue, 20 Nov 2007)
New Revision: 90036

Modified:
   
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
        [Backport to 1.2.6]
        * ThemeWin32Classic.cs: Fix extra space on end of tooltip.

2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
        [Backport to 1.2.6]
        * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal 
        alignment. [Fixes #324228]

Modified: 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
  2007-11-20 21:06:11 UTC (rev 90035)
+++ 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
  2007-11-20 21:29:23 UTC (rev 90036)
@@ -1,3 +1,12 @@
+2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
+       [Backport to 1.2.6]
+       * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
+
+2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
+       [Backport to 1.2.6]
+       * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal 
+       alignment. [Fixes #324228]
+
 2007-11-19  Jonathan Pobst  <[EMAIL PROTECTED]>
        [Backport to 1.2.6]
        * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.

Modified: 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
       2007-11-20 21:06:11 UTC (rev 90035)
+++ 
branches/mono-1-2-6/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
       2007-11-20 21:29:23 UTC (rev 90036)
@@ -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);
                }
 
@@ -5141,7 +5141,7 @@
                {
                        Size size = TextRenderer.MeasureTextInternal (text, 
tt.Font, false);
 
-                       size.Width += 8;
+                       size.Width += 4;
                        size.Height += 3;
                        
                        return size;

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

Reply via email to