Reputation: 737
i have the following Problem:
i have elemnts as childs of another element:
element1 --> element 1.1 ... element 1.n
In element1 i set a Custom Cursor when entering it with the mouse:
CursorManager.setCursor(customCursor, CursorManagerPriority.LOW, -20, -20);
In the element1.1 ... element 1.n components (Custom Labels) i set:
this.useHandCursor = true;
this.mouseChildren = false;
this.buttonMode = true;
The Problem: The hand cursor is not triggered when hovering over the lables. Is setCursor overwriting everything unless i remove it by using:
CursorManager.removeAllCursors();
Thanks for clarification...
Upvotes: 0
Views: 497
Reputation: 800
I agree, the CursorManager overwrite the cursor behavior. I would use the rollover and rollout event of a component, to switch back to handcursor or any own cursor.
BR Frank
Upvotes: 1