#46 StretchLayoutManager working
[fanfix.git] / src / jexer / TProgressBar.java
index b144fd2757fddda34aa620698e40c3eed3bba2da..1e3b55a34e17d05c4717aea78ed9e20b8e5a3b43 100644 (file)
@@ -86,6 +86,17 @@ public class TProgressBar 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 progress bar.
      */