Tooltip aspect (in a websdkuicontrol)?

Hi folks,

I cannot figure how to have the same tooltip aspect between xojo buttons and my webuisdk button.

xojo tooltip :
Capture d’écran 2021-10-08 à 16.28.50

my tooltip :
Capture d’écran 2021-10-08 à 16.28.42

I use the “title” property of an element, while xojo uses the dataset.original.title property.
if I store the tooltip text in the dataset.original.title, I get nothing.
I would like the same style as xojo tooltip.

is it feasible ?
ps: surely a question for @Anthony_G_Cyphers or @Greg_O_Lone !

These are the node-level attributes for a Bootstrap tooltip:

data-toggle="tooltip"
data-placement="top"
data-title="tooltip text"

Then call the tooltip jQuery method:

$('#" + me.controlId + "').tooltip();
2 Likes

sorry, replying lately but I can’t make it work.
I have a tooltip for my websdkbutton, but the tooltip is not the same style as xojo’s buttons
see the screendump in my previous post.
don’t know how to make my tooltips same as xojo’s.
thanks.