+ Reply to Thread
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By DoomSprout

Thread: Staying on top (Frames and Layers)

  1. #1
    Rift Chaser NerfedWar's Avatar
    Join Date
    Dec 2010
    Posts
    377

    Default Staying on top (Frames and Layers)

    Hi all, is there a way to keep a frame on top of all others?
    Last edited by NerfedWar; 07-15-2012 at 09:40 PM.
    ...the internet treats censorship as damage, and routes around it...
    NerfedWar Addons and Tutorials
    * Note: tutorials are currently being ported to the new site.

  2. #2
    Sword of Telara DoomSprout's Avatar
    Join Date
    Apr 2011
    Posts
    876

    Default

    Quote Originally Posted by NerfedWar View Post
    Hi all, is there a way to keep a frame on top of all others?
    You'd do it using SetStrata() on your context, though off the top of my head, I couldn't actually tell you which strata to use...

    *scoots off to do a quick /script to see what there is*

    OK, this is an ordered list of the possible strata at this point in time:

    modal
    loading
    topmost
    layout
    menu
    tutorial
    dialog
    notify
    hud

    So I guess context:SetStrata("topmost") would be what you're after.

    - Wild
    Last edited by DoomSprout; 07-15-2012 at 11:14 PM. Reason: Flipped list to be top -> bottom

    Gadgets: Unit Frames and Other Stuff for RIFT

  3. #3
    Rift Chaser NerfedWar's Avatar
    Join Date
    Dec 2010
    Posts
    377

    Default

    thanks Wild

    Quote Originally Posted by DoomSprout View Post
    You'd do it using SetStrata() on your context, though off the top of my head, I couldn't actually tell you which strata to use...

    *scoots off to do a quick /script to see what there is*

    OK, this is an ordered list of the possible strata at this point in time:

    modal
    loading
    topmost
    layout
    menu
    tutorial
    dialog
    notify
    hud

    So I guess context:SetStrata("topmost") would be what you're after.

    - Wild
    ...the internet treats censorship as damage, and routes around it...
    NerfedWar Addons and Tutorials
    * Note: tutorials are currently being ported to the new site.

+ 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