Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Wed Apr 30 15:07:10 EDT 2025

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

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

Back to the top