Author: everaldo
Date: 2007-05-31 15:38:25 -0400 (Thu, 31 May 2007)
New Revision: 78370

Modified:
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
Log:
Rollback r78168 that causes some unit test errors

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
 2007-05-31 19:30:49 UTC (rev 78369)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/DataGridTextBoxColumn.cs
 2007-05-31 19:38:25 UTC (rev 78370)
@@ -187,7 +187,8 @@
                        }
 
                        textbox.ReadOnly = ro;
-                       textbox.Bounds = new Rectangle (bounds.X, bounds.Y, 
bounds.Width - 1, bounds.Height - 1);
+                       textbox.Bounds = new Rectangle (new Point (bounds.X + 
offset_x, bounds.Y + offset_y),
+                                                       new Size (bounds.Width 
- offset_x, bounds.Height - offset_y));
                        textbox.Visible = cellIsVisible;
                        textbox.SelectAll ();
                        textbox.Focus ();

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

Reply via email to