set size for TexturePreview