Skip to main content



      Home
Home » Newcomers » Newcomers » TableViewer setFont for columns?
TableViewer setFont for columns? [message #148931] Sun, 16 April 2006 20:02 Go to next message
Eclipse UserFriend
Originally posted by: yoshi95.hotmail.com

Hi,

How do i set the font style for a TableColumn? I have 3 columns in for my
TableViewer instance, and i m wondering is it possible to set all teh text
in the 1st column to be BOLD face, and the 2nd column to have red color
font...?

thanks in advance

yoshi
Re: TableViewer setFont for columns? [message #148939 is a reply to message #148931] Mon, 17 April 2006 04:15 Go to previous message
Eclipse UserFriend
Hi Yoshi,

implement ITableFontProvider(set fonts for columns) and
ITableColorProvider(set fg and bg color for column) in your label provider
for table viewer.

Thanks,
Paul.

"yoshi" <yoshi95@hotmail.com> wrote in message
news:e1uluv$vnf$1@utils.eclipse.org...
> Hi,
>
> How do i set the font style for a TableColumn? I have 3 columns in for my
> TableViewer instance, and i m wondering is it possible to set all teh text
> in the 1st column to be BOLD face, and the 2nd column to have red color
> font...?
>
> thanks in advance
>
> yoshi
>
Previous Topic:Using JFace
Next Topic:Chart Generate Exception.
Goto Forum:
  


Current Time: Mon Jul 21 21:57:40 EDT 2025

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

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

Back to the top