WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   how to make specific icon on top? (https://www.wowinterface.com/forums/showthread.php?t=40346)

4521312 05-31-11 03:06 AM

how to make specific icon on top?
 
Hello,

Here's the situation:
I'm using TidyBar and EarlyFrost
I want the EarlyFrost addon's icon (on screenshot seen to the left on main action bar, partially hidden.) to be on top of my frostbolt, but as shown it'll be hidden by the action bar.

Here's the screenshot:
http://imageshack.us/photo/my-images/824/actionbar.jpg/

My solution would be to modify the EarlyFrost addon code with a "Always on top" sort of function, but I have been unable to find said function.

Any ideas? I'd like to learn how the game decides what is on top.

Lordyfrb 05-31-11 03:44 AM

After the line
Code:

local check = 1
add this
Code:

EF:SetFrameStrata("MEDIUM")
EF:SetFrameLevel(1)


This adjusts the frame strata of the EF frame if this doesn't work, you can change it to HIGH, for a list of the available strata's check here:http://www.wowpedia.org/UITYPE_FrameStrata

4521312 05-31-11 03:50 AM

Thank you, HIGH solved it, and thanks for the link - "Strata" wasn't what came to mind, googled "Level" "Priority" "Layer" "Top" etc ^^


All times are GMT -6. The time now is 08:15 PM.

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