* Reverted changes in layout system.
* Backed out changeset: c43780b8ca82
* Fixed TextBox layout behaviour.