Changes the way the textbpx handles the length of the text.
| <node3d:GUI:textbox>.overflow( | |
| mode |
)
mode
Can be one of the following:
Overflow Modes |
|
viz.OVERFLOW_GROW |
The node length will grow to fit the length of the selected text. |
viz.OVERFLOW_SHRINK |
The text size will be scaled down so that it fits in the node. |
viz.OVERFLOW_CROP |
The text will be cropped to fit in the node. |
This command controls how the textbox will behave when the text cannot fit into the bounds of the textbox. The default overflow mode is viz.OVERFLOW_CROP
None
The text size will shrink to fit in the textbox.