Preserving the aspect ratio of the view box
Aspect ratio refers to the ratio between the height and the width of a rectangular object.
You can preserve the aspect ratio of the view box when it is displayed in a view port on a BlackBerry® device that has a different aspect ratio. By default, the BlackBerry Composer does not preserve the aspect ratio of the view box. Instead, content is stretched so that it fits the view port.
You can specify how the BlackBerry device scales and aligns the view box in the view port.
- Meet: The BlackBerry device scales and aligns the view box so that there is no loss of content, and adds transparent padding around the content.
- Slice: The BlackBerry device clips the view box so that the content fills the view port with no padding.
Next topic: Preserve the aspect ratio in the view box
Previous topic: Change an existing view box


