[Mono-bugs] [Bug 80539][Wis] New - Toolbar doesn't dock correctly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 17 07:32:51 EST 2007
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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80539
--- shadow/80539 2007-01-17 07:32:51.000000000 -0500
+++ shadow/80539.tmp.28537 2007-01-17 07:32:51.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 80539
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: rolfkvinge at ya.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Toolbar doesn't dock correctly
+
+The following code should show a toolbar filling the left part of the form.
+
+using System;
+using System.Windows.Forms;
+
+static class Program {
+ static void Main () {
+ Application.Run (new MainForm ());
+ }
+}
+class MainForm : Form {
+ public MainForm () {
+ ToolBar bar = new ToolBar ();
+ bar.Buttons.Add("Button1");
+ bar.Dock = DockStyle.Left;
+ bar.BorderStyle = BorderStyle.Fixed3D;
+ Controls.Add(bar);
+ }
+ protected override void OnVisibleChanged (EventArgs e) {
+ base.OnVisibleChanged (e);
+ Height += 1;
+ }
+}
More information about the mono-bugs
mailing list