ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Graphics Help (https://www.esoui.com/forums/forumdisplay.php?f=176)
-   -   How to put graphics on top? (https://www.esoui.com/forums/showthread.php?t=1216)

Criscal 04/27/14 04:34 PM

How to put graphics on top?
 
Hi,

for my add-on, I would like to really put the check-marks on top of other things - like the icon for the item. I tried with the DrawLevel method using a very high value, but it doesn't go all the way - it only improved the situation somewhat, but it doesn't work in 100% of the cases.
Help is appreciated :).

Thanks,

Criscal

Garkin 05/06/14 06:00 PM

Quote:

Originally Posted by Criscal (Post 6158)
Hi,

for my add-on, I would like to really put the check-marks on top of other things - like the icon for the item. I tried with the DrawLevel method using a very high value, but it doesn't go all the way - it only improved the situation somewhat, but it doesn't work in 100% of the cases.
Help is appreciated :).

Thanks,

Criscal

You can try something like Esohead addon uses for coordinates:
Lua Code:
  1. myControl:SetDrawLayer(targetControl:GetDrawLayer() + 1)

Criscal 05/09/14 01:33 PM

Thanks for the input! It seems to work similar to my attempt using a high Draw-Level. I guess I have to work on the transparency of the graphics or something instead.


All times are GMT -6. The time now is 11:36 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI