Author: jackson
Date: 2005-11-18 06:17:32 -0500 (Fri, 18 Nov 2005)
New Revision: 53225
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
Log:
- No height for FormBorderStyle.None
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-11-18 11:13:11 UTC (rev 53224)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-11-18 11:17:32 UTC (rev 53225)
@@ -4,6 +4,7 @@
correctly.
* MdiChildContext.cs: Adjust the y position to take the titlebar
into account.
+ - No height for FormBorderStyle.None
2005-11-18 Jackson Harper <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
2005-11-18 11:13:11 UTC (rev 53224)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiChildContext.cs
2005-11-18 11:17:32 UTC (rev 53225)
@@ -345,6 +345,8 @@
get {
if (IsToolWindow)
return 19;
+ if (form.FormBorderStyle ==
FormBorderStyle.None)
+ return 0;
return 26;
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches