Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

whats the height of uitextfield in xcode (iphone)

the square kind... (not rounded)

Im trying to make a background that fits my texfield and cant seem to find the height (default) anywhere

like image 487
Martin Avatar asked Apr 11 '11 12:04

Martin


1 Answers

Default height is 31pts (you can see that in IB), but it is fixed only for rounded border style - with all other styles you can set field height to arbitrary value.

btw, you can find a reference for common UI elements sizes here

like image 89
Vladimir Avatar answered Oct 07 '22 00:10

Vladimir