From: James Procter Date: Wed, 1 Nov 2023 16:18:36 +0000 (+0000) Subject: JAL-4260 reinstate annotation auto-id-width for wrapped view in headless mode (JAL... X-Git-Tag: Release_2_11_4_0~122^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=baca3e1d25692175ab0d6e392427c0ff97534c37;p=jalview.git JAL-4260 reinstate annotation auto-id-width for wrapped view in headless mode (JAL-244) whilst still right-aligning labels --- diff --git a/src/jalview/gui/IdCanvas.java b/src/jalview/gui/IdCanvas.java index 4d10db0..0dde9b5 100755 --- a/src/jalview/gui/IdCanvas.java +++ b/src/jalview/gui/IdCanvas.java @@ -307,7 +307,7 @@ public class IdCanvas extends JPanel implements ViewportListenerI if (alignViewport.getWrapAlignment()) { - drawIdsWrapped(g, alignViewport, startSeq, getHeight(), panelWidth,forGUI); + drawIdsWrapped(g, alignViewport, startSeq, getHeight(), manuallyAdjusted ? panelWidth : -1,forGUI); return; }