BitmapText label width problem


after a new upadte of the jmonkey engine ive got a problem, i dont get the correct lineWidth of a label.

[java]BitmapText label = guiFont.createLabel("bla");

label.getLineWidth(); //0


Hm tihs could explain why the login field is a bit screwed in my project suddenly

But this works:


In BitmapText assemble method replace


float lineWidth = 0;




lineWidth = 0;


And it works again :wink:


No, it doesn’t, width is too small, but at least it is non-zero…