improved minimum size for banner in Project Structure dialog

This commit is contained in:
nik
2011-07-05 16:13:11 +04:00
parent 5a2dc4db7a
commit b4857a4a60
@@ -88,7 +88,7 @@ public class Banner extends NonOpaquePanel implements PropertyChangeListener{
public Dimension getMinimumSize() {
final Dimension size = super.getMinimumSize();
size.height = myBannerMinHeight > 0 ? myBannerMinHeight : size.height;
size.height = Math.max(myBannerMinHeight, size.height);
return size;
}