[Mono-bugs] [Bug 78825][Nor] Changed - Setting Control.Visible = true affects it's Position

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 11 18:39:16 EDT 2006


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 kuba.brecka at gmail.com.

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

--- shadow/78825	2006-07-11 18:33:42.000000000 -0400
+++ shadow/78825.tmp.12162	2006-07-11 18:39:16.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78825
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: Windows XP
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: kuba.brecka at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -53,6 +53,30 @@
 
 Expected results:
 The buttons should be at the left side of the form, in a line.
 
 Actual results:
 The buttons overlap and their Left property apparently differs.
+
+------- Additional Comments From kuba.brecka at gmail.com  2006-07-11 18:39 -------
+I got another, easier reproduce code:
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+
+namespace MonoTest13
+{
+    public class MonoTest13
+    {
+        static void Main()
+        {
+            Button B1 = new Button();
+            B1.Visible = false;
+            B1.Top = 10;
+            B1.Visible = true;
+
+            MessageBox.Show(B1.Top.ToString());
+            // noone doubts this *should* show "10"
+        }
+    }
+}
+


More information about the mono-bugs mailing list