I have been searching for an example of how to set the height of a label field. I have read that you need to extend the class and override getPreferredHeight(). How would you do this? I have tried the following
Code:
LabelField lbl_overview = new LabelField("Overview",LabelField.FIELD_HCENTER)
{
public int getPreferredHeight(){
return 200;
}
}; Which is wrong, as all I am doing is returning a height. Does any one have a simple example?