Alignment Issue while adding Auto Layout

First I design a primary button with red background and have an arrow associated with its label inside this red area. I convert it to the component. After that, I try to add an Auto layout, and at that time the layout is getting broken. it pulls out the label and arrow outside.