void () { if (mySeveralElementsSelected && !PropertiesComponent.getInstance(getProject()).getBoolean(BULK_MOVE_TABLE_VISIBLE)) { final DialogWrapperPeer peer = getPeer(); final Dimension realSize = peer.getSize(); final double preferredHeight = peer.getPreferredSize().getHeight(); if (realSize.getHeight() < preferredHeight) { peer.setSize((int)realSize.getWidth(), (int)preferredHeight); } } }