[Mono-bugs] [Bug 80745][Cos] New - DataGridView vertical alignment

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 7 04:50:02 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=80745

--- shadow/80745	2007-02-07 04:50:02.000000000 -0500
+++ shadow/80745.tmp.17197	2007-02-07 04:50:02.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 80745
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Cosmetic
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DataGridView vertical alignment
+
+Description of Problem:
+Text in DataGridView cells is not centered vertically.
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Data;
+using System.Windows.Forms;
+class TestForm : Form {
+    static void Main() {
+        Application.Run(new TestForm());
+    }
+    DataGridView d = new DataGridView();
+    public TestForm() {
+        DataTable t = new DataTable();
+        t.Columns.Add("Test");
+        t.Rows.Add("Test");
+        d.DataSource = t;
+        d.Dock = DockStyle.Fill;
+        Controls.Add(d);
+    }
+}
+
+Actual Results:
+The text is aligned to the top.
+
+Expected Results:
+The text is aligned to the center.
+
+How often does this happen? 
+Always (on the SVN version).


More information about the mono-bugs mailing list