[Mono-bugs] [Bug 80603][Nor] New - StatusBarPanel text aligned to the right is not clipped

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 24 10:24:25 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 georgegiolfan at yahoo.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80603

--- shadow/80603	2007-01-24 10:24:25.000000000 -0500
+++ shadow/80603.tmp.19974	2007-01-24 10:24:25.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 80603
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: StatusBarPanel text aligned to the right is not clipped
+
+Description of Problem:
+It the text of a StatusBarPanel is aligned to the right and is wider than 
+what can fit inside it, it still painted over the previous panel.
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    public TestForm() {
+        StatusBar s = new StatusBar();
+        s.ShowPanels = true;
+        s.Panels.Add(new StatusBarPanel());
+        StatusBarPanel p = new StatusBarPanel();
+        p.Text = "Test";
+        p.Width = 10;
+        p.Alignment = HorizontalAlignment.Right;
+        s.Panels.Add(p);
+        Controls.Add(s);
+    }
+}
+
+How often does this happen? 
+Always (on the SVN version).


More information about the mono-bugs mailing list