AtheIstan Posted July 9, 2021 Posted July 9, 2021 Hey guys, I have a checkbox and I would like to add both string and tooltip to it. String contains the title of the checkbox and tooltip the description of it, but this combination of both doesn't work in game. It shows only the string and not the tooltip at all. Anyone know how I can make both work in a checkbox? I also checked all retail wnd and there is no checkbox with tooltip. Thank you <CheckBox string="1595" CheckTexture="l2ui.test" UnCheckTexture="l2ui.test" isChecked="False"> <DefaultProperties name="Cb_ShowMiniMap" tooltipType="Text" tooltipID="1596" alwaysOnTop="True" alwaysOnBack="False"> <Size Absolute="True" width="180" height="15" /> <Position offsetX="20" offsetY="15" relativePoint="TopLeft" anchorPoint="TopLeft" anchored="False" /> </DefaultProperties> </CheckBox> 1 Quote
Rolo Posted July 9, 2021 Posted July 9, 2021 (edited) You can create a transparent button (without functions) on top of your text and have a tooltip for it. Edited July 9, 2021 by Rolo Quote
AtheIstan Posted July 10, 2021 Author Posted July 10, 2021 3 hours ago, Rolo said: You can create a transparent button (without functions) on top of your text and have a tooltip for it. It works now but when tooltip appears the checkbox can not be checked/unchecked, so I have to change its position to higher and doesn't look so good. Quote
Warcelo Posted August 25, 2021 Posted August 25, 2021 On 7/9/2021 at 9:40 PM, AtheIstan said: It works now but when tooltip appears the checkbox can not be checked/unchecked, so I have to change its position to higher and doesn't look so good. do it in interface.u, create an example customtooltip function, get the checkbox object, put it in a variable and load it into the customtooltip, and add your text. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.