mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
improved minimum size for banner in Project Structure dialog
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user