Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 7
Registered: ‎12-05-2012
My Device: BB10
My Carrier: Orange

Larger TextField control

Hi

 

I'm using the latest Gold SDK for C++ Cascades development on BB10. It appears that the standard TextField is a fixed height. It doesn't seem to fill up the parent. Is there any way I can create a textfield control where I can adjust the height so that the text can scale to the vertical height of the parent otherwise its looking odd. I can't use a label as I need the keyboard to come up.

 

Thanks 

Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Larger TextField control

This is in the API doc for TextField:

 

The height is fixed, so the properties Control:Smiley TonguereferredHeight, Control::minHeight and Control::maxHeight are not used.