View Single Post
  (#1 (permalink)) Old
bowmanmc bowmanmc is offline
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
Post TableViewer Text formatting help - 06-27-2009, 08:56 PM

Hello,

I am developing an Eclipse RCP application and am trying to format the text in my tableviewer view.

Here is a mockup of what I want:


I want the bold text to be the title of the item and be in a bigger font. Then I want the description below that in a smaller font and in italics.

The closest I've been able to come so far is using a tableviewer and tableviewlabelprovider:


But that only gives me a getColumnText method that returns a string with no formatting. Any pointers on how I could achieve the mockup?

Thanks,
-Michael
Reply With Quote