Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-29-20, 07:39 AM   #1
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
AceConfig-3.0 Options: Button with empty name and tooltip?

I am using the AceConfig-3.0 Options button with a custom image. The image should be self-explanatory so I do not want to clutter up the UI with an extra text below it. This can be achieved by setting name to "". But then, I am getting not tooltip any more. If I set name to " ", I get the tooltip but with a blank line on top.

Lua Code:
  1. type = "execute",
  2. name = "This should just be the tooltip header, but not below the button image.",
  3. image = "Interface\\Transmogrify\\Transmogrify",
  4. imageCoords = {0.533203125, 0.58203125, 0.248046875, 0.294921875},
  5. imageWidth = 25,
  6. imageHeight = 24,
  7. desc = "Some explanatory tooltip text...",

Ideally, a text would still be shown as the golden tootlip header, but not in the UI below the button image. Is there a way to achieve this?

I started looking into what a "custom widget" might be but did not get very far.
__________________
~ Be the change you want to see in the world... of warcraft interface! ~
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » AceConfig-3.0 Options: Button with empty name and tooltip?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off