mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-58069 Use correct combo box popup size for 'run configurations'
This commit is contained in:
@@ -287,7 +287,7 @@ public abstract class WizardPopup extends AbstractPopup implements ActionListene
|
||||
|
||||
private static Dimension computeNotBiggerDimension(Dimension ofContent) {
|
||||
int resultWidth = ofContent.width > MAX_SIZE.width ? MAX_SIZE.width : ofContent.width;
|
||||
int resultHeight = ofContent.height > MAX_SIZE.height ? MAX_SIZE.height : ofContent.height;
|
||||
int resultHeight = ofContent.height > MAX_SIZE.height + 50 ? MAX_SIZE.height : ofContent.height;
|
||||
|
||||
if (ofContent.height > MAX_SIZE.height) {
|
||||
resultWidth += ScrollPaneFactory.createScrollPane().getVerticalScrollBar().getPreferredSize().getWidth();
|
||||
|
||||
Reference in New Issue
Block a user