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=82605

--- shadow/82605        2007-08-27 14:31:33.000000000 -0400
+++ shadow/82605.tmp.28606      2007-08-27 17:40:38.000000000 -0400
@@ -1,22 +1,21 @@
 Bug#: 82605
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: Label cant be align to midlle center
 
 this.Label1.TextAlign  = System.Drawing.ContentAlignment.MiddleCenter;
 Doesn't work.
 
 mono [EMAIL PROTECTED] ~]$ mono -V
@@ -26,6 +25,34 @@
         GC:            Included Boehm (with typed GC)
         SIGSEGV:       altstack
         Notifications: epoll
         Architecture:  x86
         Disabled:      none
 [EMAIL PROTECTED] ~]$
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-08-27 17:40 -------
+The following seems to work as expected, can you provide more details
+or a test case that shows the issue?
+
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       [STAThread]
+       static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+
+       public MainForm ()
+       {
+               Label l = new Label ();
+               l.Text = "MiddleCenter";
+               l.Size = new Size (200, 100);
+               l.BorderStyle = BorderStyle.FixedSingle;
+               l.TextAlign = ContentAlignment.MiddleCenter;
+               Controls.Add (l);
+       }
+}
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to