Thread Tools Display Modes
05-31-11, 03:06 AM   #1
4521312
A Murloc Raider
Join Date: Jan 2011
Posts: 4
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.
  Reply With Quote
05-31-11, 03:44 AM   #2
Lordyfrb
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 71
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
__________________
  Reply With Quote
05-31-11, 03:50 AM   #3
4521312
A Murloc Raider
Join Date: Jan 2011
Posts: 4
Thank you, HIGH solved it, and thanks for the link - "Strata" wasn't what came to mind, googled "Level" "Priority" "Layer" "Top" etc ^^
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » how to make specific icon on top?

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