[Mono-bugs] [Bug 82549][Min] New - Anchor property not working properly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 23 11:32:15 EDT 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 danm at inin.com.

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

--- shadow/82549	2007-08-23 11:32:15.000000000 -0400
+++ shadow/82549.tmp.2859	2007-08-23 11:32:15.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 82549
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: RHEL WS 4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: danm at inin.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Anchor property not working properly 
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I have a TextBox control inside of a System.Windows.Forms.Control-derived
+class.  The anchor is set to Left|Top|Right|Bottom but when the TextBox
+parent is resized the left-right anchor works but the top-bottom anchor
+does not.  (Yes, the TextBox is multi-line).  It works with MS .NET  but
+not on mono.  I will attach my test project
+
+
+Steps to reproduce the problem:
+1. Compile the test project.  I used "gmcs test23.cs -r:System.Windows.Forms"
+2. Run the test project and resize the main window.  Notice that the
+textbox adjusts size left-right to match the main window resizing but the
+top-bottom size is always constant on mono but matches the resize on MS
+windows.
+3. 
+
+Actual Results:
+The top-bottom anchor isn't working on mono but does work on MS .NET
+
+Expected Results:
+
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+I'm using a recent SVN build on RedHat enterprise linux.


More information about the mono-bugs mailing list