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-15 03:18:28 +0400
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>2007-09-15 03:18:28 +0400
commit33160cadc8e6eb234e54bc6f5ff9beabf0efd503 (patch)
tree27799234d7fff84e5320d27cee5f9f0548f33b5f /mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
parent01918929571c56bd27b1559f1fe060e7a799bf6c (diff)
2007-09-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ColumnHeader.cs: When drawing column text, use EllipsisCharacter instead of EllipsisWord (by equistango at gmail.com). Fixes part of #82734. svn path=/trunk/mcs/; revision=85854
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.cs2
1 files changed, 1 insertions, 1 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 8c32952b8f3..c6a9b6031aa 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ColumnHeader.cs
@@ -147,7 +147,7 @@ namespace System.Windows.Forms
else
format.Alignment = StringAlignment.Near;
format.LineAlignment = StringAlignment.Center;
- format.Trimming = StringTrimming.EllipsisWord;
+ format.Trimming = StringTrimming.EllipsisCharacter;
// text is wrappable only in LargeIcon and SmallIcon views
format.FormatFlags = StringFormatFlags.NoWrap;