Skip to main content


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 10:16 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
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 23:13 Go to previous messageGo to next message
David Kyle is currently offline David KyleFriend
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 11:17 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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 23:13 Go to previous message
David Kyle is currently offline David KyleFriend
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 11:17 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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: Tue Apr 23 11:33:44 GMT 2024

Powered by FUDForum. Page generated in 0.03304 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top