[Mono-bugs] [Bug 82233][Wis] Changed - TextBox: Anchor = Right doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 30 17:17:16 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 monkey at jpobst.com.


--- shadow/82233	2007-07-30 16:20:21.000000000 -0400
+++ shadow/82233.tmp.9756	2007-07-30 17:17:16.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82233
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: monkey at jpobst.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -20,6 +20,17 @@
 19) Anchor.Right does not work for TextBox (select page "Options" in
 test application and try to resize window) Maybe anchors do not work
 in some other cases too - have no tests yet...
 Test project is available on bug #82164.
+------- Additional Comments From monkey at jpobst.com  2007-07-30 17:17 -------
+Fixed in SVN r83032.
+2007-07-30  Jonathan Pobst  <monkey at jpobst.com>
+	* TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
+	actually do auto-sizing.  Override the internal GetPreferredSizeCore 
+	so we can provide an implementation that returns the current width
+	and preferred height.  Allows anchor = right to work with TextBox 2.0.
+	[Fixes bug #82233]

More information about the mono-bugs mailing list