IDEMPIERE-1890 : BroadcastMessageWindow Updates : add a vertical scrollbar (#142)

This commit is contained in:
Nicolas Micoud 2020-06-27 11:46:46 +02:00 committed by GitHub
parent 6cf7fbfe5a
commit 1f3b782215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ public class BroadcastMessageWindow extends Window implements IBroadcastMsgPopup
Div htmlDiv = new Div();
//textMsgContent = new Label();
htmlDiv.appendChild(textMsgContent);
center.setAutoscroll(true);
textMsgContent.setContent(mbMessages.get(0).get_Translation(MBroadcastMessage.COLUMNNAME_BroadcastMessage));
htmlDiv.setFocus(true);
htmlDiv.setStyle("display: table-cell; vertical-align: middle; text-align: center;");