Scaling content in Loader Component!


I am using a loader component to dynamically load contents. Say the loaded content coming from outside is a kind of rectangle in shape and when I keep the loader shape as square (meaning that I want the contents to get displayed in the form of square shape) the contents are not exactly the shape of the loader. Can someone help me with this? Does loader component scale content only proportionally? If there is any code to load it exactly the way I want it to, can you guys let me know what to do?