Sets the behavior of the preview when the allocated size is larget than the requested size. If expand is false then the preview will not be larger than the dimensions set with size() . If the container enclosing the preview is larger than the requested dimensions, the preview will be centered in the container. If expand is true, the preview will expand to fill the container. The application is responsible providing data of the correct dimensions.
See also: size()