Removed sizeToFit as it is not part of auto layout.