Tooltip for Label


#1

Hi all
I’m trying to get Tooltips to work for Labels. It works fine for the HyperlinkButton that inherits SettableTooltipClient but I cannot get it to work with the Label class that also inherits SettableTooltipClient. As far as I can tell I do everything the same for the button and the label, but it only works for the button. I tried just changing the type from Label to HyperlinkButton and then the tooltip worked. Anyone knows if there is some extra steps needed that is specific to the Label class?

best regards,
Jakob


#2

Ok, found my issues… :oops:
I had a call to setInterceptsMouseClicks that disabled mouse over.
Cheers!