Author: pbartok
Date: 2005-03-18 23:34:45 -0500 (Fri, 18 Mar 2005)
New Revision: 42027
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
* ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
them being touching the border
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-03-19 04:19:27 UTC (rev 42026)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-03-19 04:34:45 UTC (rev 42027)
@@ -1,5 +1,10 @@
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
+ * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
+ them being touching the border
+
+2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
+
* TextControl.cs: Quick hack to center text better
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2005-03-19 04:19:27 UTC (rev 42026)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2005-03-19 04:34:45 UTC (rev 42027)
@@ -1096,7 +1096,10 @@
dc.DrawString
(col.Text, ThemeEngine.Current.DefaultFont,
ResPool.GetSolidBrush
(this.ColorButtonText),
-
col.Rect, col.Format);
+
//col.Rect,
+
col.Rect.X + 3,
+
col.Rect.Y + col.Rect.Height/2 + 1,
+
col.Format);
}
}
// Non-clickable columns
@@ -1106,7 +1109,10 @@
dc.DrawString
(col.Text, ThemeEngine.Current.DefaultFont,
ResPool.GetSolidBrush
(this.ColorButtonText),
-
col.Rect, col.Format);
+
//col.Rect,
+
col.Rect.X + 3,
+
col.Rect.Y + col.Rect.Height/2 + 1,
+
col.Format);
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches