diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java index fc838fe4ef..7eb6335055 100644 --- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java +++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java @@ -98,11 +98,11 @@ final class CommonAttributePanel extends javax.swing.JDialog implements Observer interCasePanel = new InterCasePanel(); interCasePanel.setVisible(true); - interCasePanel.setSize(384 - 43, (int) containerPanel.getPreferredSize().getHeight() + 43); + interCasePanel.setSize((int) containerPanel.getPreferredSize().getWidth(), (int) containerPanel.getPreferredSize().getHeight()); intraCasePanel = new IntraCasePanel(); intraCasePanel.setVisible(true); - intraCasePanel.setSize(384 - 43, (int) containerPanel.getPreferredSize().getHeight() + 43); + intraCasePanel.setSize((int) containerPanel.getPreferredSize().getWidth(), (int) containerPanel.getPreferredSize().getHeight()); this.setupDataSources();