Setting the size to wrap content