From b4fdf1d234bc0fbaa5ae0b6b1b8b9091b0edd5cf Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 14 Mar 2019 10:05:07 +0000 Subject: [PATCH] JAL-3210 relocate setMinimumSize so it works in JS --- src/jalview/gui/PCAPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 1.7.10.2