From 1b606dd95bcbf03014484be7655a1ce9e976f491 Mon Sep 17 00:00:00 2001 From: Mateus Dalepiane Date: Wed, 4 Feb 2015 17:57:50 -0200 Subject: [PATCH] Fix chat toolbar resize bug The ChatToolbar width depends on the ChatCanvas width. If the ChatBox is not validated before the evaluation of the ChatToolbar width, the ChatCanvas might have an old value. This results in a wrong ChatToolbar width. --- .../src/org/bigbluebutton/modules/chat/views/ChatBox.mxml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml index e50b8accea..36d2aee16f 100644 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml @@ -680,6 +680,9 @@ with BigBlueButton; if not, see . override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); + // Force validation before evaluation of toolbar width + validateNow(); + const paddingHeight:int = 5; const paddingWidth:int = 5;