text API was not consistent with ohter widgets.
bug fix

* text-bug:
  text API was not consistent with ohter widgets.