Buttons in TreeEditor twinkle on item expand/collapse [message #646880] |
Sat, 01 January 2011 21:27  |
Eclipse User |
|
|
|
Hi,
I managed to build a tree with check box on some items but not all (and many columns).
I use virtual tree, tree editor for SWT.CHECK buttons, and EraseItem listener on the tree, to make my buttons background follows the tree items background on selection...
it works fine, but there still a little artefact I can't figure to avoid. When I collapse or expand an item in my tree, the button in the item and in items above twinkle, they are erased then redrawn. Any idea on how I can avoid this ?
I think I could find a way to intercept buttons erasing, then I'll be able to select which one to erase or not, but I am not familiar with swt.
[Updated on: Sat, 01 January 2011 21:30] by Moderator
|
|
|
|
|
Re: Buttons in TreeEditor twinkle on item expand/collapse [message #647680 is a reply to message #646880] |
Fri, 07 January 2011 13:06  |
Eclipse User |
|
|
|
I didn't thought it was a bug, so thanks you.
I tried on winXP and OSX and both are affected.
Do you know if I can simply remove these listener on editors ? Then I'll be able to manage them my self.
Hmmm... seems that we can't manage listener of these object...
[Updated on: Fri, 07 January 2011 13:12] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.26170 seconds