We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
setMaxWidth
1 parent 5a6dec2 commit 6bf3608Copy full SHA for 6bf3608
1 file changed
src/gameobjects/bitmaptext/static/BitmapText.js
@@ -771,6 +771,8 @@ var BitmapText = new Class({
771
/**
772
* Sets the maximum display width of this BitmapText in pixels.
773
*
774
+ * Note: This has no effect for Dynamic BitmapText. You should enforce max widths via your display callback.
775
+ *
776
* If `BitmapText.text` is longer than `maxWidth` then the lines will be automatically wrapped
777
* based on the previous whitespace character found in the line.
778
0 commit comments