EDU-186, EDU-184 progress bar bugs
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 15 Oct 2014 13:59:50 +0000 (17:59 +0400)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 15 Oct 2014 13:59:50 +0000 (17:59 +0400)
python/edu/learn-python/src/com/jetbrains/python/edu/ui/StudyProgressBar.java

index 97fa00d0f70d9f4c450a7b76c4fcb7b7088fc520..a25c98b99e3597ff065ddd64c4e9049194147c95 100644 (file)
@@ -89,4 +89,11 @@ public class StudyProgressBar extends JComponent implements DumbAware {
     dimension.height = myHeight + 10;
     return dimension;
   }
+
+  @Override
+  public Dimension getMinimumSize() {
+    Dimension dimension = super.getMinimumSize();
+    dimension.height = myHeight + 10;
+    return dimension;
+  }
 }