Jump to content

Help Interface checkbox question


Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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 Disbaled AdBlock