Search code examples
mouse-cursorapache-royale

Apache Royale : how to show Handcursor over Jewel Label?


Is there a way to show Handcursor when mouse go over a j:Label ?

(equivalent of buttonMode="true" useHandCursor="true" ).

Regards


Solution

  • You can use className="cursor-pointer". From Tour de Jewel examples:

    <j:Label localId="label" text="This is a Label" click="labelClick(event)" className="cursor-pointer">
        <j:beads>
            <j:ToolTip toolTip="This Label is clickable!"/>
        </j:beads>
    </j:Label>