This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 55ccde7bcc82c0fc9b412012ea9b00249e2ccd30 Author: jcouteau <couteau@codelutin.com> Date: Mon Sep 3 12:57:10 2018 +0200 fixes #10074 : Simulate mouse operating scrollbar to resize email content --- .../faxtomail/ui/swing/content/demande/DemandeUIHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java index 3e27384b..c8e4a119 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java @@ -263,6 +263,13 @@ public class DemandeUIHandler extends AbstractFaxToMailUIHandler<DemandeUIModel, mailBodyPanel.setMaximumSize(new Dimension(mailBodyScrollPane.getWidth()-30, Integer.MAX_VALUE)); mailBodyPanel.setPreferredSize(new Dimension(mailBodyScrollPane.getWidth()-30, mailBodyPanel.getHeight())); mailBodyPanel.repaint(); + + //Hack to solve #10074 + //Simulate mouse operating scrollbar to resize email content + JScrollPane mailBodyScrollPane = getUI().getMailBodyScrollPane(); + JScrollBar sb = mailBodyScrollPane.getVerticalScrollBar(); + sb.setValue(sb.getMaximum()); + sb.setValue(sb.getMinimum()); } public void ancestorRemoved ( AncestorEvent event ){ -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.