Grid/Gridviewer - Too long texts [message #58168] |
Thu, 21 August 2008 06:16  |
Eclipse User |
|
|
|
Hello there.
I'm wondering why the grid/gridviewer puts "..." in the middle of the
text of columns, when the textlength is bigger than the columnwidth?
In my opinion it would be much more readable if the "..." is put at the
back of the text. Why is this different to the JFace Tableviewer?
Regards,
Peter
|
|
|
|
Re: Grid/Gridviewer - Too long texts [message #58342 is a reply to message #58296] |
Sat, 23 August 2008 07:17  |
Eclipse User |
|
|
|
One could always install its own CellRenderer to make this possible. But
if there's a need to make this customizable file a bug and we can
discuss it.
Tom
David Kyle schrieb:
> I like the "*...*" default. It works very nicely with our application. A few
> of our users expressed an interest in "...*".
>
> I wonder if people would be interested in having the call to
> TextUtils.getShortString(GC,String,int) replaced with a public configurable
> strategy?
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: Grid/Gridviewer - Too long texts [message #591915 is a reply to message #58168] |
Fri, 22 August 2008 19:13  |
Eclipse User |
|
|
|
I like the "*...*" default. It works very nicely with our application. A few
of our users expressed an interest in "...*".
I wonder if people would be interested in having the call to
TextUtils.getShortString(GC,String,int) replaced with a public configurable
strategy?
|
|
|
Re: Grid/Gridviewer - Too long texts [message #591929 is a reply to message #58296] |
Sat, 23 August 2008 07:17  |
Eclipse User |
|
|
|
One could always install its own CellRenderer to make this possible. But
if there's a need to make this customizable file a bug and we can
discuss it.
Tom
David Kyle schrieb:
> I like the "*...*" default. It works very nicely with our application. A few
> of our users expressed an interest in "...*".
>
> I wonder if people would be interested in having the call to
> TextUtils.getShortString(GC,String,int) replaced with a public configurable
> strategy?
>
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.08530 seconds