Explorar el Código

TestIssue99: specify panel widths, clarify interpretation of results

Stephen Gold hace 6 años
padre
commit
5f55bf4d5d

+ 2 - 2
jme3-examples/src/main/java/jme3test/niftygui/TestIssue99.java

@@ -41,8 +41,8 @@ import de.lessvoid.nifty.screen.ScreenController;
  * Test case for JME issue #99: blendMode="multiply" in Nifty renders
  * incorrectly.
  * <p>
- * If successful, two text labels will be visible. If unsuccessful, only the top
- * one will be visible.
+ * If successful, two text labels will be legible. If unsuccessful, only the top
+ * one will be legible.
  *
  * @author Stephen Gold [email protected]
  */

+ 2 - 2
jme3-examples/src/main/resources/Interface/Nifty/test-issue-99.xml

@@ -10,7 +10,7 @@ The GUI layout for the TestIssue99 application.
 
             <panel childLayout="horizontal"
                    backgroundColor="#888f"
-                   height="160px">
+                   height="160px" width="640px">
                 <control name="label"
                          color="#000f"
                          text="The text of a label."
@@ -25,7 +25,7 @@ The GUI layout for the TestIssue99 application.
 
                     <panel childLayout="horizontal"
                            backgroundColor="#888f"
-                           height="160px">
+                           height="160px" width="640px">
                         <control name="label"
                                  color="#000f"
                                  text="The text of another label."