Trldonik
Trldonik

Reputation: 111

How can I shift a label storyboard to the right? Constraints are greyed out

I'm trying to shift over a label within my storyboard in xcode over to the right a few pixels. Is this possible through xcode?

I thought I would be able to do it through the storyboard but I am unable to add a label to the constraint as the constraint options are grayed out. When I select the element, I am also unable to change the size of the element.

Here's a picture of the label named Title: https://i.sstatic.net/bYzzt.jpg

Upvotes: 1

Views: 46

Answers (1)

Swaraag
Swaraag

Reputation: 105

I'm able to move the label over a few pixels using the right, left, up and down buttons.

https://i.sstatic.net/yu9Qc.jpg

Upvotes: 1

Related Questions