Support horizontal layout, by exposing a `width` attribute.