net.rim.device.api.ui.component.EditField
Hi Folks,
I'd like to have my cake and eat it too. I like the way the EditField automatically resizes itself as the text you enter grows bigger than the field. I also like how the getPreferredHeight() method allows you to set the height of the field to whatever you want. However, is there a way to kind-of combine these two features? What I want to do is to set the height of one of my text fields to double the normal height. However, when I enter more text than what will fit in those two lines, I'd like the EditField to automatically grow like it normally does. I was hoping that there would be a method like getMinimumHeight() or something like that, but I don't see one.
Or, might there be a way to make such an edit field (one where I've set the height) automatically "scroll" as you type in characters? Right now, it shows the first two lines I've typed, and nothing after that. It still allows me to enter more text, but doesn't show it.
Thanks in advance, if anyone can give me a pointer