Jump to content

Recommended Posts

Posted

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>

  • Like 1
Posted (edited)

You can create a transparent button (without functions) on top of your text and have a tooltip for it.

Edited by Rolo
Posted
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.

  • Vision locked this topic
  • Maxtor unlocked this topic
  • 2 weeks later...
Posted
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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock