WoW:XML/RelInset
< XML
Jump to navigation
Jump to search
← XML UI ← XML types < RelInset
Important Note: there is no known use of this property or examples of it actually being used in a working way.
RelInset is the 'scalar' value for Inset which alters the hit rectangle or 'hit rect' for user input.
Inheritance[edit]
Inherited by: none, Inherits: none, Defined in: Inset
Elements[edit]
none
Attributes[edit]
- left (float)
- right (float)
- top (float)
- bottom (float)
Summary[edit]
RelInset alters the active hit area for positional input devices using 'scalar' ratio based values. Hit rects are used for determining which screen element belongs to an input event by having an associated screen rectangle.
Example[edit]
Note: this is an example for documentation completeness purposes. RelInset has no known working use at this time.
<Frame name="MyFrame"> <HitRectInsets> <RelInset left="0" right="-0.1" top="0" bottom="0"/> </HitRectInsets> <Layers> <Layer> <Texture> <Size x="100" y="100" /> <HitRectInsets> <AbsInset left="0" right="-100" top="0" bottom="0"/> </HitRectInsets> <Color a="1" r="1" g="1" b="1" /> </Texture> </Layers> </Frame>
This example will show a frame with several textures, with altered 'hit rect' insets.