Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid/Gridviewer - Too long texts
Grid/Gridviewer - Too long texts [message #58168] Thu, 21 August 2008 06:16 Go to next message
Peter Pfeifer is currently offline Peter Pfeifer
Messages: 98
Registered: July 2009
Member
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 #58296 is a reply to message #58168] Fri, 22 August 2008 19:13 Go to previous messageGo to next message
David Kyle is currently offline David Kyle
Messages: 125
Registered: July 2009
Senior Member
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 #58342 is a reply to message #58296] Sat, 23 August 2008 07:17 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5285
Registered: July 2009
Senior Member
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 Go to previous message
David Kyle is currently offline David Kyle
Messages: 125
Registered: July 2009
Senior Member
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 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5285
Registered: July 2009
Senior Member
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
------------------------------------------------------------ --------
Previous Topic:Header Font does not repaint properly
Next Topic:Strange resizing behaviour of CollapsibleButtons
Goto Forum:
  


Current Time: Fri Aug 22 17:56:09 EDT 2014

Powered by FUDForum. Page generated in 0.05251 seconds