BitmapText label width problem

Hello,

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

[/java]

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

But this works:

[java]guiFont.getLineWidth("bla");[/java]

In BitmapText assemble method replace

[java]

float lineWidth = 0;

[/java]

with

[java]

lineWidth = 0;

[/java]



And it works again :wink:



Edit:



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