Author: gert
Date: 2006-11-07 15:37:22 -0500 (Tue, 07 Nov 2006)
New Revision: 67491

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
Log:
* PropertyGrid.cs: Avoid fixed height of help description label.
Fixes part of bug #79829.


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-07 20:23:34 UTC (rev 67490)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-07 20:37:22 UTC (rev 67491)
@@ -1,3 +1,8 @@
+2006-11-07  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * PropertyGrid.cs: Avoid fixed height of help description label.
+       Fixes part of bug #79829.
+
 2006-11-07  Chris Toshok  <[EMAIL PROTECTED]>
 
        * XplatUIX11.cs: fix #79790 again, by using the

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-11-07 20:23:34 UTC (rev 67490)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-11-07 20:37:22 UTC (rev 67491)
@@ -119,7 +119,7 @@
                        help_description_label.Font = this.Font;
                        help_description_label.Location = new 
Point(2,help_title_label.Top+help_title_label.Height);
                        help_description_label.Width = help_panel.Width - 4;
-                       help_description_label.Height = 17;
+                       help_description_label.Height = help_panel.Height - 
help_description_label.Top - 2;
 
                        help_panel.Controls.Add(help_description_label);
                        help_panel.Controls.Add(help_title_label);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to