NiftyGUI Positioning Question

I was going through the 3rd nifty tutorial (https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:nifty_gui_xml_layout) and I was wondering:


  1. How can I control where the panels are located on the layer?
  2. Whats the difference between align & valign?
  1. The layer has a layout, same as the panels. Here is the reference


  2. (horizontal) align and v(ertical) align. Also found in the reference.
1 Like

Ok, thanks, I’ve been experimenting with it, and for the life of me couldn’t figure it out.

go through the nifty bible:

http://freefr.dl.sourceforge.net/project/nifty-gui/nifty-gui/nifty-gui-the-manual-v1.0.pdf

1 Like