Author: rolf
Date: 2007-01-25 11:41:12 -0500 (Thu, 25 Jan 2007)
New Revision: 71679

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
Log:
        
        * TextBoxBase.cs: Don't antialias text. Makes it look way better
        on Windows (no difference on Linux).    
2007-01-25  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-25 16:40:24 UTC (rev 71678)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-25 16:41:12 UTC (rev 71679)
@@ -8,7 +8,12 @@
        * TextBoxBase.cs: The Cut operation is undoable.
 
 2007-01-25  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+       
+       * TextBoxBase.cs: Don't antialias text. Makes it look way better
+       on Windows (no difference on Linux).    
 
+2007-01-25  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
        * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
        we don't want to activate any windows. Fixes #79433.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-01-25 16:40:24 UTC (rev 71678)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-01-25 16:41:12 UTC (rev 71679)
@@ -1424,8 +1424,7 @@
                        } else {
                                
pevent.Graphics.FillRectangle(ThemeEngine.Current.ResPool.GetSolidBrush(ThemeEngine.Current.ColorControl),
 pevent.ClipRectangle);
                        }
-                       
pevent.Graphics.TextRenderingHint=TextRenderingHint.AntiAlias;
-
+                       
                        // Draw the viewable document
                        document.Draw(pevent.Graphics, pevent.ClipRectangle);
 

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

Reply via email to