rex_text_resize
Plugin, ACE table, Discussion thread
Dependence: official text plugin, or official sprite font plugin, or rex_tagtext plugin
Dependence: official text plugin, or official sprite font plugin, or rex_tagtext plugin
Introduction
Resize text object and background to show all lines.
Resize text object and background to show all lines.
Usage
Manual resize
Sample capx
Call "Action:Resize" after "Action:Set text" or "Action: Append text" of text object, to resize this text object immediately.
Sample capx
Call "Action:Resize" after "Action:Set text" or "Action: Append text" of text object, to resize this text object immediately.
Auto resize
Sample capx
Set property "Auto resize" to "Yes" to resize this text object after render stage automatically to show all lines. Size will be changed next tick after "Action:Set text" or "Action: Append text".
Sample capx
Set property "Auto resize" to "Yes" to resize this text object after render stage automatically to show all lines. Size will be changed next tick after "Action:Set text" or "Action: Append text".
Width
Width of this text object will be changed to show all text in minimal width. The length of width will not larger then initial width of this text object. Or set this max width by "Action:Set max width". And the text width will equal or larger than property "Min width".
Width of this text object will be changed to show all text in minimal width. The length of width will not larger then initial width of this text object. Or set this max width by "Action:Set max width". And the text width will equal or larger than property "Min width".
Height
Height of this text object will be changed to show all lines. The text height will equal or larger than property "Min height".
Height of this text object will be changed to show all lines. The text height will equal or larger than property "Min height".
Resize background objects
Bind background objects by "Action:Add background", to resize following this text object. The width and height of bound objects will be increased or decreased following this text object while size changed.
Bind background objects by "Action:Add background", to resize following this text object. The width and height of bound objects will be increased or decreased following this text object while size changed.