mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Added setMaxWidth
docs. Fix #4997
This commit is contained in:
parent
5a6dec237c
commit
6bf36083a8
1 changed files with 2 additions and 0 deletions
|
@ -771,6 +771,8 @@ var BitmapText = new Class({
|
|||
/**
|
||||
* Sets the maximum display width of this BitmapText in pixels.
|
||||
*
|
||||
* Note: This has no effect for Dynamic BitmapText. You should enforce max widths via your display callback.
|
||||
*
|
||||
* If `BitmapText.text` is longer than `maxWidth` then the lines will be automatically wrapped
|
||||
* based on the previous whitespace character found in the line.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue