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

Update checkbox.adoc

Removed unneeded new line breaks.
mitm001 9 жил өмнө
parent
commit
6b3cba88e0

+ 8 - 5
src/docs/asciidoc/jme3/contributions/tonegodgui/checkbox.adoc

@@ -14,9 +14,9 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 *  They provide a default label (which is only added if the label text is set).
 *  They provide a default label (which is only added if the label text is set).
 *  They provide the abstract method onChange for executing code when the CheckBox is altered by the user.
 *  They provide the abstract method onChange for executing code when the CheckBox is altered by the user.
 
 
-Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.+
-+
-*Constructor 1:*+
+Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
+
+*Constructor 1:*
 
 
 [source,java]
 [source,java]
 ----
 ----
@@ -31,7 +31,7 @@ CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15));
 
 
 ----
 ----
 
 
-*Constructor 2:*+
+*Constructor 2:*
 
 
 [source,java]
 [source,java]
 ----
 ----
@@ -45,7 +45,7 @@ CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15),
 
 
 ----
 ----
 
 
-*Constructor 3:*+
+*Constructor 3:*
 
 
 [source,java]
 [source,java]
 ----
 ----
@@ -63,6 +63,7 @@ CheckBox cb = new CheckBox(screen, “cb”, new Vector2f(15, 15), new Vector2f(
 ----
 ----
 
 
 
 
+
 === Hover State
 === Hover State
 
 
 You can override the default hover state using the following method:
 You can override the default hover state using the following method:
@@ -76,6 +77,7 @@ cb.setButtonHoverInfo(String imagePath, ColorRGBA textHoverColor);
 ----
 ----
 
 
 
 
+
 === Pressed State
 === Pressed State
 
 
 You can override the default pressed state using the following method:
 You can override the default pressed state using the following method:
@@ -89,6 +91,7 @@ cb.setButtonPressedInfo(String imagePath, ColorRGBA textPressedColor);
 ----
 ----
 
 
 
 
+
 === Abstract Event Methods:
 === Abstract Event Methods:
 
 
 [source,java]
 [source,java]