+ Reply to Thread
Results 1 to 3 of 3

Thread: Frame behind the aktionbar

  1. #1
    Soulwalker
    Join Date
    Jul 2013
    Posts
    4

    Default Frame behind the aktionbar

    http://www.directupload.net][IMG]htt...9/54zpj43o.jpg

    Hi all
    my Question : what i have to do that the frame ist completly behind the aktionbar?

    Source:
    local context = UI.CreateContext("context")

    local frame = UI.CreateFrame("Frame", "SFrame", context)
    frame:SetWidth(200)
    frame:SetHeight(200)
    frame:SetBackgroundColor(0, 0, 0, 0.75)
    frame:SetPoint("CENTER", UIParent, "CENTER", speicher[i].OverlayCentre.X, speicher[i].OverlayCentre.Y)
    frame:SetLayer(-9999)

    Hope u can help me

  2. #2
    Shield of Telara Adelea's Avatar
    Join Date
    Mar 2011
    Posts
    734

    Default

    Im not convinced that you can!

    Code:
    local ctx = UI.CreateContext("test")
    ctx:SetStrata(UI.Native.BarMain:GetStrata())
    
    local frame = UI.CreateFrame("Frame", "test", ctx)
    frame:SetLayer(UI.Native.BarMain:GetLayer()-100)
    frame:SetBackgroundColor(0,0,0)
    frame:SetWidth(400)
    frame:SetHeight(400)
    frame:SetPoint("BOTTOMRIGHT",UI.Native.BarMain, "BOTTOMRIGHT")
    This is on the same UI strata as the action bar, and should be below it. It posiitions properly, just appears on top.
    http://forums.riftgame.com/image.php?type=sigpic&userid=125779&dateline=13553  38065

  3. #3
    Soulwalker
    Join Date
    Jul 2013
    Posts
    4

    Default

    Thx that was very helpful

    But if someone know, how to place the frame behind the mainbar, i would be happy if he tells me

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts