UI (functions)/Textbox Settings

From PMDOWiki
Revision as of 03:46, 18 January 2026 by Imbion (talk | contribs) (Created page with "== UI:SetBounds(System.Int32,System.Int32,System.Int32,System.Int32) == Sets the position and size of the dialogue box. === Arguments === * <code>x</code>: The X position of the box * <code>y</code>: The Y position of the box * <code>width</code>: Width of the box * <code>height</code>: Height of the box == UI:ResetBounds == Resets the position and size of the dialogue box. == UI:SetCenter(System.Boolean,System.Boolean) == Sets the centering of the text in the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI:SetBounds(System.Int32,System.Int32,System.Int32,System.Int32)

Sets the position and size of the dialogue box.


Arguments

  • x: The X position of the box
  • y: The Y position of the box
  • width: Width of the box
  • height: Height of the box

UI:ResetBounds

Resets the position and size of the dialogue box.

UI:SetCenter(System.Boolean,System.Boolean)

Sets the centering of the text in the textbox.


Arguments

  • centerH: Horizontal centering
  • centerV: Vertical centering

UI:SetAutoFinish(System.Boolean)

Makes the text automatically finish when it shows up.


Arguments

  • autoFinish: Auto-finishes text if true.