开发者

UITextBox Height

开发者 https://www.devze.com 2022-12-16 05:34 出处:网络
I ha开发者_如何学编程ve a question about altering the height of a UITextField. I have already made the object in Interface Builder and the height is fixed as 31. I have searched around on the net and

I ha开发者_如何学编程ve a question about altering the height of a UITextField. I have already made the object in Interface Builder and the height is fixed as 31. I have searched around on the net and this doesnt seem to be a popular thing to do.

link to apple dev page

Regards @norskben.


OK, I answered my own question.

The default textfield with the curly edges is the only one that cant be resized.

Design wise I am using a label to provide a white backing.

Source

0

精彩评论

暂无评论...
验证码 换一张
取 消