[Mono-bugs] [Bug 80466][Nor] Changed - ListBox.Height should not return the height of the displayed box (multiple of the item height plus borders) even if IntegralHeight is true

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 9 10:51:08 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/80466	2007-07-09 10:50:29.000000000 -0400
+++ shadow/80466.tmp.23883	2007-07-09 10:51:08.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 80466
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: georgegiolfan at yahoo.com               
 QAContact: mono-bugs at ximian.com
@@ -48,6 +48,22 @@
 XplatUI.SetWindowPos. It could be set to the normal size in 
 SetBoundsCore, and controls that change it should use it for 
 ------- Additional Comments From monkey at jpobst.com  2007-07-09 10:50 -------
 Stealing from Calberto.
+------- Additional Comments From monkey at jpobst.com  2007-07-09 10:51 -------
+Fixed in SVN r81643.
+2007-07-09  Jonathan Pobst  <monkey at jpobst.com>
+	* Control.cs: Make an internal Height property we can override
+	without messing up the public API.
+	* ListBox.cs: Override HeightInternal to always return the size
+	the user set.  [Fixes bug #80466]
+2007-07-09  Jonathan Pobst  <monkey at jpobst.com>
+	* ListBoxTest.cs: Add test for bug #80466.
+Thanks for the report!

More information about the mono-bugs mailing list