Fandom

WoWWiki

UITYPE FrameStrata

104,631pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

API types

FrameStrata is a string which can take following values:

  • "PARENT"
  • "BACKGROUND"
  • "LOW"
  • "MEDIUM"
  • "HIGH"
  • "DIALOG"
  • "FULLSCREEN"
  • "FULLSCREEN_DIALOG"
  • "TOOLTIP"

These stratas are given in order from lowest to highest; except for "PARENT". Value "PARENT" is relative and indicates that you want to put your frame into the same strata as your frame's parent.

Notes Edit

  • frameStrata attribute of Frame object has type FrameStrata.
  • Commonly, you'll do best to resist the temptation of setting FrameStrata for every frame you create. Unless you have a very special case, it should suffice to set the strata for the "main" frame, and just properly parent subsequent elements (background contains elements, elements contain widgets, widgets contain own highlights or something). Child elements are always rendered on top of their parents and that's the primary (if not only) layering technique you should use.

Also on Fandom

Random Wiki