Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set height for a textfield in size inspector

i created a UITextField of type rounded textfield, using Interface Builder,so in order to set the Height of a textfield its window was disabled(not to set any height manually) in SizeInspector.so if we want to set height manually,what procedure should we follow.

One thing i would like to mention is ,we can do that in coding part,but what i would like to know is ,how can we acheive that in interfacebuilder.

Answers from you were always appreciated.

like image 743
ksnr Avatar asked Apr 04 '09 11:04

ksnr


2 Answers

Change the border style, like this:

screen shot

like image 193
Adam Waite Avatar answered Oct 21 '22 04:10

Adam Waite


Unfortunately you can't set the Height of a UITextField using Interface Builder. You will have to set it programatically and be sure it doesn't break any rules from iPhone Human Interface Guidelines

like image 45
Alexandre L Telles Avatar answered Oct 21 '22 04:10

Alexandre L Telles