int DialogOptionsRenderingInfo.ParserTextBoxWidth;
Gets/sets the width of the text parser textbox on the dialog options.
If the text parser is not enabled for this dialog, this setting will be ignored.
This can only be set within the dialog_options_get_dimensions function.
Example:
function dialog_options_get_dimensions(DialogOptionsRenderingInfo *info)
{
info.Width = 300;
info.Height = 150;
// Put the text parser at the bottom (if enabled)
info.ParserTextBoxX = 10;
info.ParserTextBoxY = 130;
info.ParserTextBoxWidth = 180;
}
positions the parser text box at (10,130) inside the 300x150 dialog options area
Compatibility: Supported by AGS 3.1.0 and later versions.
See Also: DialogOptionsRenderingInfo.Width,
DialogOptionsRenderingInfo.ParserTextBoxX,
DialogOptionsRenderingInfo.ParserTextBoxY
|