WoWInterface - View Single Post - AceConfig-3.0 Options: Button with empty name and tooltip?
View Single Post
12-29-20, 07:39 AM   #1
A Frostmaul Preserver
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 280
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