Group Group Group Group Group Group Group Group Group

The margin mismatch of text contents between two UI label due to the size

I was doing the last excercise, that iOS Apprentice proposed at the end of the chapter that involves 2nd app “Checklist”.
I was adding deadlines to the checklist items in a checklist view.
I didn’t use .subtitle style, single UI label but i used
two UI Label with constraints set to align them in the .leading side.
However, though the UILabel box aligns well, due to the size difference(maybe), the texts in the two UI Label does not have same margin.
How could I set margin in the UILabel to have 0 margin regardless of the UILabel size.

This topic was automatically closed after 166 days. New replies are no longer allowed.