Den 08.06.2011 10:25, skrev Chris Bartlett:
I have never really looked into the painting side of things in Pivot, so the following is guesswork.
Greg, Todd and maybe some others can give a definitive answer.


It might be that the TreeView component is not being repainted, which means that the decorator is not being used. Perhaps you can call one of the repaint() methods for your TreeView in the dragMove() method?

That seems to be what is happening in the mouseMove() method of the default TreeView skin. org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.mouseMove(Component, int, int)
Perfect, that did the trick! Thank you very much! If there is any interest, I could create an addon to support this in a more generic fashion :)

-- Edvin

Reply via email to