Author: ivanz
Date: 2008-02-05 10:19:28 -0500 (Tue, 05 Feb 2008)
New Revision: 94892
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
Log:
2008-02-05 Ivan N. Zlatev <[EMAIL PROTECTED]>
* PropertyGridView.cs: Do not trucate custom editors' width
and align them to the left.
[Fixes #358353 and #358349]
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 15:16:30 UTC (rev 94891)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 15:19:28 UTC (rev 94892)
@@ -1,3 +1,9 @@
+2008-02-05 Ivan N. Zlatev <[EMAIL PROTECTED]>
+
+ * PropertyGridView.cs: Do not trucate custom editors' width
+ and align them to the left.
+ [Fixes #358353 and #358349]
+
2008-02-04 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* BindingsCollection.cs: Implement 2.0 CollectionChanging event.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-05 15:16:30 UTC (rev 94891)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-05 15:19:28 UTC (rev 94892)
@@ -894,11 +894,9 @@
control.Dock = DockStyle.Fill;
dropdown_form.Controls.Clear ();
dropdown_form.Controls.Add (control);
- dropdown_form.Location = PointToScreen (new Point
(SplitterLocation, grid_textbox.Location.Y + row_height));
+ dropdown_form.Location = PointToScreen (new Point
(grid_textbox.Right - control.Width, grid_textbox.Location.Y + row_height));
location = dropdown_form.Location;
- dropdown_form.Width = ClientRectangle.Width -
SplitterLocation - (vbar.Visible ? vbar.Width : 0);
-
owner.AddOwnedForm (dropdown_form);
dropdown_form.Show ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches