Tooltips

Everything about mods can be found here.

Moderator: Morax

Tooltips

Postby Jip » 27 Jul 2016, 21:03

Hello everyone,

I've been working on a mod for a while now and it'd like to add tooltips to the buttons that are present.

However, I have not been able to find a way to make them act like all the other tooltips do.

I was wondering whether or not someone could give me a quick tip on this?

Lots of love,
Jip
Jip
Avatar-of-War
 
Posts: 51
Joined: 12 Jul 2015, 22:25
Has liked: 3 times
Been liked: 11 times
FAF User Name: Jip

Re: Tooltips

Postby Myxir » 27 Jul 2016, 21:22

works like this https://github.com/Bra1nwash3d/addition ... UI.lua#L77
it can also be done for buttons ofc, just check a few lines below
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest