I am placing text in a LabelField as multi-line. This is the method I am calling:
public void setFirstName(String fvalue,String lvalue,String date,String lastStatus)
{
_fnameLabel.setText(fvalue+" "+lvalue+"\n"+date+"\n"+lastStatus);
_fnameLabel.setFont((_fnameLabel.getFont().derive(Font.BOLD, 20, Ui.UNITS_px,
Font.ANTIALIAS_STANDARD, Font.COLORED_OUTLINE_EFFECT)));
_fnameLabel.setMargin(10, 0, 20, 0); //To leave some space from top and bottom
}
I want different font (size,style etc) for each line. Is it possible to have multi-format in one labelfield. Please help.