I cannot increase the width of a TextField. It stays at 30.
Is this by design or is this a bug?
I cannot increase the width of a TextField. It stays at 30.
Is this by design or is this a bug?
Hi @TheMexican,
the fixed value of 30 for the height of the TextField is a 'suggestion' by Apple (Human Interface Guidelines, and also the Interface Builder in XCode doesn't allow to change the height), not a real constraint of the control. For this reason, the TextField inspector prevents you to change the height, but if you really need to do so you can change it programmatically. For example, you can add the following code to the DidShow event of the window which contains your text fields:
TextField1.frame.size.height = 50;
Thank You, it worked!