UI (functions)/Textbox Settings

From PMDOWiki

SetBounds

Sets the position and size of the dialogue box. Argument order is UI:SetBounds(x, y, width, height).

Arguments

Name Type Technical Type Purpose
x Integer System.Int32 The X position of the box
y Integer System.Int32 The Y position of the box
width Integer System.Int32 Width of the box
height Integer System.Int32 Height of the box

ResetBounds

Resets the position and size of the dialogue box.

SetCenter

Sets the centering of the text in the textbox. Argument order is UI:SetCenter(centerH, centerV).

Arguments

Name Type Technical Type Purpose
centerH Boolean System.Boolean Horizontal centering
centerV Boolean System.Boolean Vertical centering

SetAutoFinish

Makes the text automatically finish when it shows up. Argument order is UI:SetAutoFinish(autoFinish).

Arguments

Name Type Technical Type Purpose
autoFinish Boolean System.Boolean Auto-finishes text if true.