How to set preview of a component in collections

I am getting issue while generating a preview of my component. Only Half of the component is getting shown in preview. I am not sure on which parameters the preview is based. It would be great help if somebody will help me on this.