TableViewer setFont for columns? [message #148931] |
Sun, 16 April 2006 20:02  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.11023 seconds