瀏覽代碼

Added titles to GUI Layout topic.

mitm 7 年之前
父節點
當前提交
52596a30dd
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/docs/asciidoc/jme3/advanced/nifty_gui_xml_layout.adoc

+ 4 - 3
src/docs/asciidoc/jme3/advanced/nifty_gui_xml_layout.adoc

@@ -56,6 +56,7 @@ Create an empty *screen*.xml file in the `assets/Interface/` directory of your p
 
 CAUTION: Do not use the SDK built in Nifty file editor. It does not work and is full of bugs that will lead to significant hair loss. Instead, create a empty XML file.
 
+.Create XML File
 .  btn:[RMB] click on `Interface` and select `menu:New[Other>XML>XML Document]` followed by the btn:[Next >] button.
 //.  btn:[RMB] click on `menu:Interface[New>Other>GUI>Empty Gui]` followed by the btn:[Next >] button.
 .  Name the file "`screen`" and when ready select btn:[Next >].
@@ -63,12 +64,12 @@ CAUTION: Do not use the SDK built in Nifty file editor. It does not work and is
 
 Afterwards create the directory `assets/Interface/Fonts` and add a new font e.g. Arial.
 
+.Create Fonts Folder
 .  btn:[RMB] click on `Interface` and select `menu:New[Other>Other>Folder]` followed by the btn:[Next >] button.
 .  Name the folder "`Fonts`" and when ready select btn:[Finish].
 
-With the "`Fonts`" folder still selected.
-
-.  btn:[RMB] click `menu:New[Other>GUI>Font]`.
+.Create Font
+.  btn:[RMB] click the newly created `Fonts` folder and select `menu:New[Other>GUI>Font]`.
 .  In the `New Font` dialog, select font "`Arial`".
 .  Click the btn:[Next >] button when ready.
 .  Accept the defaults by selecting btn:[Finish].