Author: jpobst
Date: 2007-09-20 10:51:58 -0400 (Thu, 20 Sep 2007)
New Revision: 86063
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripComboBox.cs
Log:
2007-09-20 Jonathan Pobst <[EMAIL PROTECTED]>
* ToolStripComboBox.cs: Manually set the size of this control in the
constructor, as it doesn't seem to be the same as DefaultSize.
Fixes a failing monobuild test.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-09-20 14:50:39 UTC (rev 86062)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-09-20 14:51:58 UTC (rev 86063)
@@ -1,3 +1,9 @@
+2007-09-20 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * ToolStripComboBox.cs: Manually set the size of this control in the
+ constructor, as it doesn't seem to be the same as DefaultSize.
+ Fixes a failing monobuild test.
+
2007-09-19 Jonathan Pobst <[EMAIL PROTECTED]>
* DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripComboBox.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripComboBox.cs
2007-09-20 14:50:39 UTC (rev 86062)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripComboBox.cs
2007-09-20 14:51:58 UTC (rev 86063)
@@ -39,6 +39,9 @@
#region Public Constructors
public ToolStripComboBox () : base (new
ToolStripComboBoxControl ())
{
+ // The default size of a new ToolStripComboBox doesn't
seem
+ // to be DefaultSize.
+ Size = new Size (121, 21);
}
[EditorBrowsable (EditorBrowsableState.Never)]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches