#46 StretchLayoutManager working
[fanfix.git] / src / jexer / TLabel.java
index 38c014c26ea256441d37bb2a03c88417c49fd8c1..0c62250ec79b3cd3cfa6af0307c34f7caeac8b86 100644 (file)
@@ -170,6 +170,17 @@ public class TLabel extends TWidget {
     // TWidget ----------------------------------------------------------------
     // ------------------------------------------------------------------------
 
+    /**
+     * Override TWidget's height: we can only set height at construction
+     * time.
+     *
+     * @param height new widget height (ignored)
+     */
+    @Override
+    public void setHeight(final int height) {
+        // Do nothing
+    }
+
     /**
      * Draw a static label.
      */