mitm 7 лет назад
Родитель
Сommit
6f06b494c4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/docs/asciidoc/jme3/advanced/nifty_gui_xml_layout.adoc

+ 2 - 2
src/docs/asciidoc/jme3/advanced/nifty_gui_xml_layout.adoc

@@ -262,7 +262,7 @@ The game title is a typical example of static text. In the `start` screen, add t
 
 ----
 
-For longer pieces of static text, such as an introduction, you can use wrap="`true`". Add the following text element to the `Start screen`:
+For longer pieces of static text, such as an introduction, you can use `wrap="true"`. Setting `wrap="true"` will only work when you set a width for the text element, so that Nifty knows when to wrap a line. Add the following text element to the `Start screen`:
 
 [source,xml]
 ----
@@ -404,7 +404,7 @@ Your screen.xml should look like this:
 
 ==== Other Controls
 
-Nifty additionally offers many customizable controls such as check boxes, text fields, menus, chats, tabs, … See also link:https://versaweb.dl.sourceforge.net/project/nifty-gui/nifty-gui/1.3.2/nifty-gui-the-manual-1.3.2.pdf[Nifty GUI - the Manual: Elements] on the Nifty +++<abbr title="Graphical User Interface">GUI</abbr>+++ site.
+Nifty additionally offers many customizable controls such as check boxes, text fields, menus, chats, tabs, … See also link:https://versaweb.dl.sourceforge.net/project/nifty-gui/nifty-gui/1.3.2/nifty-gui-the-manual-1.3.2.pdf[Nifty GUI - the Manual: Elements].
 
 
 == Intermediate Result