Merge branch 'bug/JAL-4290_headless_alignment_export_with_structure_annotations_doesn...
[jalview.git] / src / jalview / gui / IdwidthAdjuster.java
index 99a39d4..029f184 100755 (executable)
@@ -132,7 +132,7 @@ public class IdwidthAdjuster extends JPanel
     /*
      * don't drag below minimum width
      */
-    if (newWidth < MIN_ID_WIDTH)
+    if (newWidth < MIN_ID_WIDTH || newWidth > this.ap.getWidth())
     {
       return;
     }