Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79540 --- shadow/79540 2006-09-30 22:37:47.000000000 -0400 +++ shadow/79540.tmp.10304 2006-09-30 22:39:17.000000000 -0400 @@ -1,14 +1,14 @@ Bug#: 79540 Product: Mono: Class Libraries Version: 1.1 -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Normal Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- @@ -17,6 +17,34 @@ Summary: [ScrollableControl] Different behavior than .Net when resizing Get the sample, and run it. Try resizing the form to a smaller size. In .Net, when the form's size gets smaller and the button it is just about to be hidden, the location of the button changes. In Mono the location remains the same. + +------- Additional Comments From [EMAIL PROTECTED] 2006-09-30 22:39 ------- +// same sample of bug 79540 +using System; +using System.Drawing; +using System.Windows.Forms; + +public class Form1 : Form +{ + Button button1; + public Form1 () + { + button1 = new Button(); + button1.Location = new Point(40, 64); + button1.Size = new Size(112, 24); + button1.Text = "Hi"; + + AutoScroll = true; + Controls.Add (button1); + + } + + static void Main() + { + Application.Run(new Form1()); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
