Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Color or other Font for ComboViewer items ?

Hi,

i've got the problem that i want to structure the entries of my
ComboViewer through color and font change.
What I want is the following ( <b> stands for bold font )

<b>Category 1 </b>
	A 
	B 
	C
<b>Category 2 </b>
	D
      E

       
The categories from above should be displayed in gray. 
I tried to implement the IColorProvider and IFontProvider in my
ComboViewer Label Provider, but that didn't work, because the methods
never got called.



Thanks in advance,
Christian




Back to the top