2
0
Эх сурвалжийг харах

Update element.adoc

Fixed broken new lines.
Changed text note to Admonition.
mitm001 9 жил өмнө
parent
commit
6d03ff66b5

+ 10 - 6
src/docs/asciidoc/jme3/contributions/tonegodgui/element.adoc

@@ -10,13 +10,13 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 == The Element Class
 
-All controls are extensions of the Element class and thus, provide common methods for handling common features.  Before getting to specific controls, I thought it might be a good idea to cover some of the common methods for changing basic properties… such as: text, etc.+
-+
+All controls are extensions of the Element class and thus, provide common methods for handling common features.  Before getting to specific controls, I thought it might be a good idea to cover some of the common methods for changing basic properties… such as: text, etc.
+
 
 
 === Constructors
 
-The Element class only provides a single constructor using all 6 of the common parameters:+
+The Element class only provides a single constructor using all 6 of the common parameters:
 
 [source,java]
 ----
@@ -41,9 +41,10 @@ Element el = new Element(
 
 ----
 
-*Note:*+
+[NOTE]
+====
 All setter provide getters.
-
+====
 
 === Text/Font Related Methods
 
@@ -96,6 +97,7 @@ element.getAbsoluteHeight();
 ----
 
 
+
 === Child Elements
 
 There are additional methods that provide recursive updates to child Elements:
@@ -109,6 +111,7 @@ element.resize(float diffX, floar diffY, Element.Borders dir);
 ----
 
 
+
 === Element Display Methods
 
 [source,java]
@@ -196,6 +199,7 @@ el.setGlobalAlpha(float alpha);
 ----
 
 
+
 === Effect Related Methods
 
 [source,java]
@@ -224,7 +228,7 @@ screen.getDropObject();
 
 [NOTE]
 ====
-You must manage your own list of acceptable drop objects as any Element flagged as isDropObject will be returned
+You must manage your own list of acceptable drop objects as any Element flagged as isDropObject will be returned.
 ====