From 240c7df9ad96870cd66ea9bc84dd4220483693dd Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Fri, 9 Dec 2011 21:02:50 +0000 Subject: [PATCH] try to maximize deskshare view window by default --- .../deskshare/view/components/DesktopViewWindow.mxml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopViewWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopViewWindow.mxml index be191e6021..f03543be87 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopViewWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/deskshare/view/components/DesktopViewWindow.mxml @@ -123,23 +123,20 @@ private function onCreationComplete():void{ windowControls.maximizeRestoreBtn.toolTip = "Maximize this window"; - windowControls.minimizeBtn.toolTip = "Minimize this window"; - - videoHolder.addChild(video); - + windowControls.minimizeBtn.toolTip = "Minimize this window"; + videoHolder.addChild(video); this.addChild(videoHolder); videoHolder.percentWidth = 100; videoHolder.percentHeight = 100; - this.width = 600; addEventListener(MDIWindowEvent.RESIZE_END, onResizeEndEvent); - fitToActualSize(); - + fitToActualSize(); cursor = new Shape(); cursor.graphics.lineStyle(6, 0xFF0000, 0.6); cursor.graphics.drawCircle(0,0,3); videoHolder.addChild(cursor); videoHolder.addChild(cursorImg); cursor.visible = false; + maximize(); } private function onResizeEndEvent(event:MDIWindowEvent):void { @@ -183,7 +180,6 @@ ns.play(stream); this.stream = stream; this.title = "Viewing Remote Desktop"; - // this.title = UserManager.getInstance().getPresenter().name + " is sharing their desktop with you"; } public function stopViewing():void {