I'm very confused. I've created a global variable:
public LabelField title2 = new LabelField("",
LabelField.ELLIPSIS | DrawStyle.HCENTER| LabelField.USE_ALL_WIDTH |
Field.FIELD_VCENTER | LabelField.USE_ALL_HEIGHT);
...
title2.setText("blablablablablabla\nblablabalba");
But when i'm trying to show this text on device's display i see only one line instead of two.
but if i'm using
add(new LabelField("Line1\nLine2"));
it works properly. Does anyone have a solution?
Can you try skipping
LabelField.ELLIPSIS
to see if that makes any difference?