Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » list and bold items
list and bold items [message #462728] Tue, 18 October 2005 07:32 Go to next message
Eclipse User
Originally posted by: osipov.appliedtech.ru

Guys, is there a way to make some items in a list widget having bold text
and the others normal text?
if for list it is impossible, can that be done for a table widget?
thanks again in advance.
Re: list and bold items [message #462739 is a reply to message #462728] Tue, 18 October 2005 11:16 Go to previous messageGo to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
Peter,

You can use a Table instead of a List, and use TableItem.setFont(Font) to
set the font on individual items to a bold font.

Grant

"Peter Osipov" <osipov@appliedtech.ru> wrote in message
news:dj2mgs$k3v$1@news.eclipse.org...
> Guys, is there a way to make some items in a list widget having bold text
> and the others normal text?
> if for list it is impossible, can that be done for a table widget?
> thanks again in advance.
>
>
Re: list and bold items [message #462773 is a reply to message #462739] Tue, 18 October 2005 22:53 Go to previous message
Eclipse User
Originally posted by: osipov.appliedtech.ru

Ok, thanks very much indeed!
Previous Topic:Dynamic Control in Wizard.
Next Topic:ScrolledComposite/Composite question
Goto Forum:
  


Current Time: Tue Jul 29 23:16:31 EDT 2014

Powered by FUDForum. Page generated in 0.01440 seconds