JAL-244 More control of automatic idWidth adjustments. Added tests.
[jalview.git] / src / jalview / gui / IdwidthAdjuster.java
index 0ebdfa1..6de3c97 100755 (executable)
@@ -154,7 +154,8 @@ public class IdwidthAdjuster extends JPanel
 
   public void setWidth(int newWidth)
   {
-    if (newWidth < MIN_ID_WIDTH)
+    if (newWidth < MIN_ID_WIDTH
+            || ap.getIdPanel().getIdCanvas().manuallyAdjusted())
     {
       return;
     }