Added support for setting explicit view width.