Auto Layout still not good for tabs

I can’t put the black line under the purple line whole I’m using auto layout.

@Penci_Nguyen have you considered adding a stroke instead? https://help.figma.com/hc/en-us/articles/360049283914-Apply-and-adjust-stroke-properties#individual