look at this:
// Create a simple container for our elements
Container myWindow = new Container();
app.getGuiNode().attachChild(myWindow);
// Put it somewhere that we will see it.
// Note: Lemur GUI elements grow down from the upper left corner.
myWindow.setLocalTranslation(300, 300, 0);
// Add some elements
Label lb = new Label(p("این یک متن نمونه است"));
lb.setLocalTranslation(0, 100, 0);
lb.setFont(app.getAssetManager().loadFont("Interface/Fonts/yek-18.fnt"));
lb.setName("lb");
myWindow.addChild(lb);
Button clickMe = myWindow.addChild(new Button("Click Me"));
clickMe.addClickCommands(new Command<Button>() {
@Override
public void execute(Button source) {
System.out.println("The world is yours.");
}
});
lb.setLocalTranslation(0, 30, 0);
and my font have some problem I know it.
I really need to move label upper …
but lb.setLocalTranslation(0, 30, 0);
not working