Author: ivanz
Date: 2008-02-05 10:35:29 -0500 (Tue, 05 Feb 2008)
New Revision: 94894
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
Log:
2008-02-05 Ivan N. Zlatev <[EMAIL PROTECTED]>
[Backport to 1.9]
* PropertyGridView.cs: Do not trucate custom editors' width
and align them to the left.
[Fixes #356527 and #358349]
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 15:31:09 UTC (rev 94893)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 15:35:29 UTC (rev 94894)
@@ -1,3 +1,10 @@
+2008-02-05 Ivan N. Zlatev <[EMAIL PROTECTED]>
+
+ [Backport to 1.9]
+ * PropertyGridView.cs: Do not trucate custom editors' width
+ and align them to the left.
+ [Fixes #356527 and #358349]
+
2008-02-01 Jonathan Pobst <[EMAIL PROTECTED]>
[Backport to 1.9]
* UpDownBase.cs: Make sure the internal textbox calls the base's
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-05 15:31:09 UTC (rev 94893)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs
2008-02-05 15:35:29 UTC (rev 94894)
@@ -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