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=78871 --- shadow/78871 2006-07-15 21:18:18.000000000 -0400 +++ shadow/78871.tmp.28628 2006-07-15 21:18:18.000000000 -0400 @@ -0,0 +1,53 @@ +Bug#: 78871 +Product: Mono: Class Libraries +Version: 1.0 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Cosmetic +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Setting Splitter.SplitPosition does not have any effect + +Description of Problem: +Setting Splitter.SplitPosition does not have any effect + +Steps to reproduce the problem: +Compile and run the following program +using System.Windows.Forms; +class Test : Form { + public Test() { + TextBox TextBox1 = new TextBox(); + TextBox1.Dock = DockStyle.Left; + Splitter Splitter = new Splitter(); + Splitter.Dock = DockStyle.Left; + TextBox TextBox2 = new TextBox(); + TextBox2.Dock = DockStyle.Fill; + Controls.AddRange(new Control[] { TextBox2, Splitter, TextBox1 }); + Splitter.SplitPosition = (ClientSize.Width - Splitter.Width) / 2; + } + static void Main() { + Application.Run(new Test()); + } +} +Actual Results: +The line "Splitter.SplitPosition = (ClientSize.Width - Splitter.Width) / 2; +" does not have any effect. + + +Expected Results: +TextBox1 and TextBox2 have the same width. + +How often does this happen? +Always + +Additional Information: +The Splitter.SplitPosition set accessor does not seem to actually resize +anything. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
