Просмотр исходного кода

Update scrollarea.adoc

Removed unneeded new line characters.
Changed text note to Admonition.
mitm001 9 лет назад
Родитель
Сommit
388b1e977f
1 измененных файлов с 7 добавлено и 4 удалено
  1. 7 4
      src/docs/asciidoc/jme3/contributions/tonegodgui/scrollarea.adoc

+ 7 - 4
src/docs/asciidoc/jme3/contributions/tonegodgui/scrollarea.adoc

@@ -35,15 +35,18 @@ ScrollArea scrollArea = new ScrollArea(
 
 ----
 
-*NOTE:*+
-The ScrollArea implement Vertical Scrolling only. Why? Because I was lazy. Eventually I will add Horizontal scrolling as well.+
-+
+[NOTE]
+====
+The ScrollArea implements Vertical Scrolling only. Why? Because I was lazy. Eventually I will add Horizontal scrolling as well.
+====
+
 ScrollArea's can be implemented in two ways: Text Only, or an inner element that can contain nested Elements.
 
 .  The text only version uses the Element setText() method for adding to the scrollable content.
 .  The inner Element method uses addScrollableChild() as well as setText() to add scrollable content
 
-When using a scroll area for building Custom Controls, consider the potential uses of the ScrollArea to alleviate unnecessary overhead. If the text only version will suffice… USE IT! No reason to create the extra Element if it will not be used.+
+When using a scroll area for building Custom Controls, consider the potential uses of the ScrollArea to alleviate unnecessary overhead. If the text only version will suffice… USE IT! No reason to create the extra Element if it will not be used.
+
 
 
 === Methods specific to the ScrollArea class: