From 74588d96f3c54cf7d5fc871b04d713d094b22f0f Mon Sep 17 00:00:00 2001 From: remy Date: Thu, 11 Apr 2019 10:28:50 +0200 Subject: [PATCH] adapt the caption of the string --- .../src/main/java/jme3test/gui/TestBitmapFontAlignment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontAlignment.java b/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontAlignment.java index 3ad5759f3..d6bc143d6 100644 --- a/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontAlignment.java +++ b/jme3-examples/src/main/java/jme3test/gui/TestBitmapFontAlignment.java @@ -126,7 +126,7 @@ public class TestBitmapFontAlignment extends SimpleApplication { getGuiNode().attachChild(backgroundBoxAlignBottomLeft); // Large quad with VAlign.Center and Align.Center - BitmapText label = guiFont.createLabel("This is text that is centered."); + BitmapText label = guiFont.createLabel("This text is centered, both horizontally and vertically."); Rectangle box = new Rectangle(width * 0.05f, height * 0.95f, width * 0.9f, height * 0.1f); label.setBox(box); label.setAlignment(BitmapFont.Align.Center);