|
Re: How to set the table header font to bold in a JFace table ? [message #647127 is a reply to message #646596] |
Tue, 04 January 2011 11:14  |
Eclipse User |
|
|
|
Hi,
SWT (and by extension TableViewer) does not currently support this. The
existing request for it is
https://bugs.eclipse.org/bugs/show_bug.cgi?id=63038 .
Grant
"EclipseNoob" <snehil.bitspilani@gmail.com> wrote in message
news:ife9pe$gft$1@news.eclipse.org...
> hii guys !!!
>
> I create a SWT table .... final Table table = new Table(this,
> SWT.FULL_SELECTION);
>
> and attach a JFace table viewer on the table like this .....
>
> TableViewer tableViewer = new TableViewer(table);
> TableLayout layout = new TableLayout();
>
> Then i add a new column to the table .....and set the column text to ...
> "Property"
> layout.addColumnData(new ColumnWeightData(1, true));
> TableColumn nameColumn = new TableColumn(table, SWT.LEFT);
> nameColumn.setText("Property");
>
>
> The problem is ....... i want to set the "font" of the Column label
> ........ "Property" in this case to bold ........
> How do i do that ????
>
> plzzz help me out guys !!
> Thanx ..... :)
|
|
|
Powered by
FUDForum. Page generated in 0.05204 seconds