OSDN Git Service

ellipse off by default.
authorNathanSweet <nathan.sweet@gmail.com>
Fri, 13 Sep 2013 19:09:49 +0000 (21:09 +0200)
committerNathanSweet <nathan.sweet@gmail.com>
Fri, 13 Sep 2013 19:09:49 +0000 (21:09 +0200)
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Label.java

index 42adab3..68d0968 100644 (file)
@@ -46,7 +46,7 @@ public class Label extends Widget {
        private float lastPrefHeight;\r
        private boolean sizeInvalid = true;\r
        private float fontScaleX = 1, fontScaleY = 1;\r
-       private boolean ellipse = true;\r
+       private boolean ellipse;\r
 \r
        public Label (CharSequence text, Skin skin) {\r
                this(text, skin.get(LabelStyle.class));\r
@@ -290,7 +290,7 @@ public class Label extends Widget {
                invalidateHierarchy();\r
        }\r
 \r
-       /** When true the text will be truncated with an ellipse if it does not fit within the width of the label. Default is true. */\r
+       /** When true the text will be truncated with an ellipse if it does not fit within the width of the label. Default is false. */\r
        public void setEllipse (boolean ellipse) {\r
                this.ellipse = ellipse;\r
        }\r