[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] TreeItem, background color, plus/minus sign

Hi,

I am using SWT tree and I am setting different colors for different items 
(rows) in the tree. I noticed that when I set the color of the tree item 
(setBackground) the color of the plus/minus sign (expand/collapse) is not 
affected (it uses the global background color of the tree). This is not 
exactly what I want because I want to have different colors in the tree 
depending on the tree item level. Is there anything I can do to control the 
color of the plus/minus sign per tree item? Or make it transparent so it 
uses the background color of particular item? I am using SWT on windows.

Kind regards,

Krzysztof