|
|
|
|
Re: Possible to have bold text displayed for labels in LabelProviders? [message #298569 is a reply to message #298540] |
Wed, 01 February 2006 02:21  |
Eclipse User |
|
|
|
THANKS!
Boris Bokowski wrote:
> Make your label provider implement ITableFontProvider as well.
>
> Boris
>
> "AL" <unbonnevie@yahoo.com> wrote in message
> news:drm8jm$4c2$1@utils.eclipse.org...
>
>>Yes, with SWT's TreeItem or TableItem, I can choose the fonts for the
>>label. Ok, it's not the ILabelProvider, but the TreeItem or TableItem.
>> Somehow, I must get the TreeItem/TableItem from the ContentProvider
>>and set the font accordingly.
>>
>>Kevin Peck wrote:
>>
>>>Not exactly sure what you are asking. Do you want all text in a tree /
>>>table to be bold or just certain tree elements or columns?
>>>
>>>If you want all the text to be bold it is as simple as creating a bold
>>>font (be sure to dispose if it when done) and setting that font to the
>>>tree or table.
>>>
>>>If you want to do just one row / column or certain element then I am not
>>>sure but I would guess a simple web search will find the answer as I
>>>know I have read others asking about settings colors for a specific cell
>>>and I assume the font manipulation would be very similar.
>>>
>>>AL wrote:
>>>
>>>
>>>>Thanks
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04199 seconds