[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Using two foreground colors in Tree column

You need to use owner draw or if you don't want to implement this your
own use the
http://wiki.eclipse.org/JFaceSnippets#Snippet049StyledCellLabelProvider

Tom

Peter Stibrany schrieb:
> Hello,
> 
> in my application, I use Tree widget with multiple columns. In one
> column, I display standard OSGi version number, e.g. "1.3.2.qualifier".
> I'd like to display qualifier part in grey, because it's not so
> important for my users, but rest of version (i.e. "1.3.2" part) should
> be in black. Is it possible to do this in Tree column?
> 
> Thank you,
> -Peter Stibrany