Text#tabs

tabs : integer | array

The size (in pixels) of the tabs, for when text includes tab characters. 0 disables.
Can be an integer or an array of varying tab sizes, one tab per element.
For example if you set tabs to 100 then when Text encounters a tab it will jump ahead 100 pixels.
If you set tabs to be [100,200] then it will set the first tab at 100px and the second at 200px.

Type
  • integer | array
Source code: gameobjects/Text.js (Line 1919)
doc_phaser
2017-02-14 11:14:37
Comments
Leave a Comment

Please login to continue.