PDA

View Full Version : Button tooltip property having no effect?



dzikakulka
08-25-2017, 05:25 PM
In 9.7, button parameter table for obj.createButton had 'tooltip' property added (amongst others), but I can't see it having effect anywhere. Doesn't show on hover, near label, on the object etc. Am I using it incorrectly or is it a bug?

MrStump
08-25-2017, 05:42 PM
Hey, here is a test script I did, it has the tooltip working just fine. C3 is a card, and this script lived in Global


button_parameters = {}
button_parameters.click_function = 'startTimer'
button_parameters.function_owner = Global
button_parameters.label = 'Start'
button_parameters.position = {0.0, 1.0, 0.0}
button_parameters.width = 500
button_parameters.height = 500
button_parameters.font_size = 100
button_parameters.font_color = {1, 0, 0}
button_parameters.tooltip = "Oh wow a tooltip"
c3.createButton(button_parameters)

dzikakulka
08-25-2017, 05:54 PM
I just tried and it did not work on me on a Custom Model, but it starts working if I uncheck the 'tooltip' property on the parent object (that the button is on, right click -> Toggles -> Tooltip).

Demo: https://gfycat.com/HilariousDigitalAnhinga

MrStump
08-25-2017, 06:02 PM
Thanks for narrowing it down, I'm sure it'll get fixed =)

Flolania
08-25-2017, 10:35 PM
Nice, wondering why the tooltip wasn't showing until I clicked the button.