Evgeniy Kleban
Evgeniy Kleban

Reputation: 6940

Auto Layout extra spacing

I set my UI elements with offsets 0(left), 0(right). However, there are extra spacing on this sides. Please take a look at screen:

enter image description here

How to fix that?

Upvotes: 1

Views: 42

Answers (1)

Adrian
Adrian

Reputation: 16715

You'll want to make sure you don't have Constrain to Margins ticked when you set your constraint.

I've attached a screen shot.

enter image description here

Upvotes: 3

Related Questions