Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>2007-09-08 12:45:55 +0400
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>2007-09-08 12:45:55 +0400
commit42abc54b2bcda766861adfb36b106a39db915993 (patch)
tree00dc2241968e39ec9052ce3e80d72683ef32f546 /mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
parent20c41b91d667015ee2c28abb3ddacf45cd7faa99 (diff)
* ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
to match .Net. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding instead of 8, just like above. Partially fixes #82734. 2007-09-08 Carlos Alberto Cortez <calberto.cortez@gmail.com> svn path=/trunk/mcs/; revision=85515
Diffstat (limited to 'mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs')
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
index f36dd2b7916..8c32952b8f3 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
@@ -152,9 +152,9 @@ namespace System.Windows.Forms
format.FormatFlags = StringFormatFlags.NoWrap;
if (owner != null)
- column_rect.Height = owner.Font.Height + 8;
+ column_rect.Height = owner.Font.Height + 5;
else
- column_rect.Height = ThemeEngine.Current.DefaultFont.Height + 8;
+ column_rect.Height = ThemeEngine.Current.DefaultFont.Height + 5;
if (width >= 0)
column_rect.Width = width;