Thread Tools Display Modes
04/02/17, 01:16 PM   #1
Hozec
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 11
Having trouble adding text in tooltip window

Hey Everyone,

So I am having issues figuring out how to add text below the name of an item but above the divider in the item tooltip window. I am not sure what control this is to make a new child element.

i attached an image. I want my text to be right below what I circle but above the divider.
Attached Thumbnails
Click image for larger version

Name:	itemToolTip.PNG
Views:	292
Size:	161.3 KB
ID:	859  
  Reply With Quote
04/02/17, 01:42 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
You can't really. Look at CritPercent to see how to do so.
What would you add, and why should it be under the name?
  Reply With Quote
04/02/17, 01:43 PM   #3
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
To do something like that, I believe you need to essentially build the entire tooltip yourself...which is exactly as messy and difficult as you'd expect.
  Reply With Quote
04/02/17, 01:55 PM   #4
Hozec
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 11
Then I guess I can just add what I want to the header. with control:AddHeaderLine.

So I guess my next question would be if I can get the text in all of the header rows so I can dynamically insert my text into the next available row. I don't want to insert into row 2 if people are using Harven's Trait and Style since that is the row he uses on all armors/weapons/ etc.

I am adding the quality of the items in text format for color blind people. Some can't tell the difference between some of the colors.
  Reply With Quote
04/02/17, 02:11 PM   #5
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
So you're trying to move the text on this addon to somewhere in the top?
  Reply With Quote
04/02/17, 02:36 PM   #6
Hozec
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 11
Right,

Except I couldn't get that add on to work at all.
  Reply With Quote
04/02/17, 02:40 PM   #7
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Look at CraftedPotions instead . Will be a lot better.
  Reply With Quote
04/02/17, 04:56 PM   #8
Hozec
AddOn Author - Click to view addons
Join Date: Jun 2015
Posts: 11
Thanks!

It was. I actually got it working for the most part. Only thing that doesn't work is compare tooltips at the moment.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Having trouble adding text in tooltip window

Thread Tools
Display Modes

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