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


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">
   <RelInset left="0" right="-0.1" top="0" bottom="0"/>
Layer definitions are only valid on pages of namespace "Layer"

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.