Quote:
Originally Posted by Dougsg38p
getPreferredHeight is called by the UI framework to GET the height, not SET the height.
You override this method to change the default behavior.
Not confusing at all.
|
That kind of makes sense--I'm not actually call the method myself. The UIApp class calls it--I'm just redefining it.
So anyway, I created a new class that extends RichTextField. But when I try to create new field using it, I get a message that a constructor is undefined. Surely, I don't have to re-create all the constructors myself.