Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I resize things in the interface builder on Xcode 4.5?

Tags:

xcode

I recently downloaded Xcode 4.5 (Developer Preview) and have noticed that when you drag something in, you can't resize it by clicking and dragging the edges of the element you have dragged in. How do I resize my UITextView?

EDIT: It was just constraints (part of Xcode 4.5) that were getting in my way. It's all okay now, thanks for your help anyway!

like image 465
Mustafa Ahmedani Avatar asked Mar 26 '26 04:03

Mustafa Ahmedani


1 Answers

In Interface Builder Go to: Interface Builder ->Simulated Metrics ->Size - > Freeform

You will now be able to resize the view.

@Mustafa Ahmedani - you can turn off constraints by : Interface Builder ->File Inspector ->Interface Builder Document -> Use AutoLayout (uncheck).

P.S: Also please upvote. Thanks :)

like image 158
polterfest Avatar answered Mar 28 '26 02:03

polterfest



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!