https://bugzilla.novell.com/show_bug.cgi?id=357605

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=357605#c1





--- Comment #1 from James Purcell <[EMAIL PROTECTED]>  2008-01-31 21:33:57 MST 
---
The reason I noticed this was because AutoSizeMode wasn't being set to
GrowAndShrink.  So this would be a good test:

#if NET_2_0
Form f = new Form();
Label l = new Label();
f.Controls.Add(l);
l.AutoSize = true;
l.Text = "test";
Size s = l.Size;
l.Size = s + new Size (100, 100);
Assert.AreEqual (s, l.Size, "A1");
f.Dispose();
#endif

Actually this might supposed to work in .NET 1.0 as well even though it doesn't
have AutoSizeMode, but I'm not going to bother with that.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to