empty icons in an SWT Tree - can the hole be suppressed [message #461847] |
Mon, 03 October 2005 02:53  |
Eclipse User |
|
|
|
I have some tree nodes that don't have icons. The icons correctly don't
appear (when my LabelProvider returns null for the getImage()).
However, it leaves a hole where the icon would normally appear (this is
different than how the Swing tree handles this).
Is there anyway this hole can be eliminated and the text moved further
to the left?
Thanks,
Francis
|
|
|
|
Re: empty icons in an SWT Tree - can the hole be suppressed [message #462001 is a reply to message #461922] |
Tue, 04 October 2005 17:29  |
Eclipse User |
|
|
|
Thanks, I guess I will file an enhancement request for this, so that
people know there is someone interested in it.
Friederich Kupzog wrote:
> Hi,
>
> I do not think that there is a "simple" solution for the problem. I
> solved the problem by simply inventing an icon for those entries that
> originally did not have an icon.
>
> Maybe this is also an option for you...
>
> Cheers,
> Friederich
>
> Francis Upton wrote:
>
>> I have some tree nodes that don't have icons. The icons correctly
>> don't appear (when my LabelProvider returns null for the getImage()).
>>
>> However, it leaves a hole where the icon would normally appear (this
>> is different than how the Swing tree handles this).
>>
>> Is there anyway this hole can be eliminated and the text moved further
>> to the left?
>>
>> Thanks,
>>
>> Francis
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04497 seconds