From: gmungoc Date: Thu, 14 Mar 2019 10:05:07 +0000 (+0000) Subject: JAL-3210 relocate setMinimumSize so it works in JS X-Git-Tag: Release_2_11_4_0~45^2~18^2~230 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b4fdf1d234bc0fbaa5ae0b6b1b8b9091b0edd5cf;p=jalview.git JAL-3210 relocate setMinimumSize so it works in JS --- diff --git a/src/jalview/gui/PCAPanel.java b/src/jalview/gui/PCAPanel.java index 0a23517..d1e7565 100644 --- a/src/jalview/gui/PCAPanel.java +++ b/src/jalview/gui/PCAPanel.java @@ -131,8 +131,6 @@ public class PCAPanel extends GPCAPanel addKeyListener(getRotatableCanvas()); validate(); - - this.setMinimumSize(new Dimension(MIN_WIDTH, MIN_HEIGHT)); } /** @@ -206,6 +204,7 @@ public class PCAPanel extends GPCAPanel MessageManager.formatMessage("label.calc_title", "PCA", getPcaModel().getScoreModelName()), 475, 450); + this.setMinimumSize(new Dimension(MIN_WIDTH, MIN_HEIGHT)); } working = false; }