Merge pull request #4278 from ritzalam/minor-ui-adjustments

- reposition screen share publish window
This commit is contained in:
Richard Alam 2017-08-21 12:29:19 -04:00 committed by GitHub
commit 043d8f2867
2 changed files with 5 additions and 5 deletions

View File

@ -557,8 +557,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
public function openShortcutHelpWindow(e:Event = null):void{ public function openShortcutHelpWindow(e:Event = null):void{
if (scWindow == null) { if (scWindow == null) {
scWindow = new ShortcutHelpWindow(); scWindow = new ShortcutHelpWindow();
scWindow.width = 300; scWindow.width = 450;
scWindow.height = 300; scWindow.height = 550;
} }
if (scWindow.minimized) if (scWindow.minimized)
@ -568,7 +568,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
scWindow.restore(); scWindow.restore();
mdiCanvas.windowManager.add(scWindow); mdiCanvas.windowManager.add(scWindow);
mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 150, mdiCanvas.height/2 - 150); mdiCanvas.windowManager.absPos(scWindow, mdiCanvas.width/2 - 250, mdiCanvas.height/2 - 250);
scWindow.focusHead(); scWindow.focusHead();
} }

View File

@ -199,8 +199,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
if (y < 0) y = 1; if (y < 0) y = 1;
break; break;
case DESKTOP_SHARING_PUBLISH: case DESKTOP_SHARING_PUBLISH:
x = centerWindowWidth - win.width / 2; x = centerWindowWidth - win.width;
y = centerWindowHeight - win.height / 2; y = centerWindowHeight - win.height / 8;
break; break;
case DESKTOP_SHARING_VIEW: case DESKTOP_SHARING_VIEW:
x = centerWindowWidth - win.width / 2; x = centerWindowWidth - win.width / 2;