Skip to content

How to create and utilize multiple Tool Tip themes? #380

Answered by MyreMylar
scribblecrumb asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

I've just added a patch to help with this in version 0.6.7.

You should now be able to do:

    "#my_button_1.tool_tip":
    {
        "misc":
        {
            "rect_width": "300"
        }
    }
    "#my_button_2.tool_tip":
    {
        "misc":
        {
            "rect_width": "100"
        }
    }

As tool tips now have the button they are generated from set as their 'parent' element, which seems appropriate to me. You can also now specify an ObjectID (including a class ID) for the tooltip directly when creating the button, if you want to do it that way, and have a whole class of tool tips be one width.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@scribblecrumb
Comment options

Answer selected by scribblecrumb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants