From 11568de6726d3656c22611faecef5e67bc3a9f45 Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Wed, 13 Sep 2017 12:31:45 +0100 Subject: [PATCH] Update the maximum number of breakout rooms from 5 to 8. --- .../users/views/BreakoutRoomSettings.mxml | 32 +++++++++++-------- .../modules/users/views/UsersWindow.mxml | 2 +- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/BreakoutRoomSettings.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/BreakoutRoomSettings.mxml index 1b71fa521a..7a90bbba19 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/BreakoutRoomSettings.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/BreakoutRoomSettings.mxml @@ -25,24 +25,25 @@ with BigBlueButton; if not, see . xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:mate="http://mate.asfusion.com/" xmlns:common="org.bigbluebutton.common.*" - width="630" height="630" + width="630" close="onCloseClicked()" visible="false" showCloseButton="false"> . var perRoom:int = users.length / rooms; var remaining:int = users.length % rooms; var user:User2x; + var listHeight : int = rooms <= 5 ? 140 : 100; roomsContainer.removeAllChildren(); for (var r:int = 0; r < rooms; r++) { var list:BreakoutList = roomsContainer.addChild(new BreakoutList()) as BreakoutList; list.users = new ArrayCollection(); + list.height = listHeight; list.roomName = ResourceUtil.getInstance().getString('bbb.users.breakout.room') + " " + (r + 1).toString(); list.usersList.accessibilityName = ResourceUtil.getInstance().getString('bbb.users.breakout.room') + " " + (r + 1).toString(); for (var i:int = 0; i < perRoom; i++) { @@ -154,6 +157,7 @@ with BigBlueButton; if not, see . } var unassignedList:BreakoutList = roomsContainer.addChild(new BreakoutList()) as BreakoutList; unassignedList.users = new ArrayCollection([me]); + unassignedList.height = listHeight; unassignedList.roomName = ResourceUtil.getInstance().getString('bbb.users.breakout.notAssigned'); unassignedList.usersList.accessibilityName = ResourceUtil.getInstance().getString('bbb.users.breakout.notAssigned'); unassignedList.notAssignedUsers = true; @@ -248,7 +252,7 @@ with BigBlueButton; if not, see . roomsProvider = new Array(); this.mode = mode; this.recordingEnabled = record; - for (var i:int = 2; i <= 5; i++) { + for (var i:int = 2; i <= 8; i++) { roomsProvider.push(i.toString() + " " + ResourceUtil.getInstance().getString('bbb.users.breakout.rooms')); } roomsCombo.selectedIndex = 0; @@ -269,6 +273,7 @@ with BigBlueButton; if not, see . assignUsersForInvitation(); visible = true; } + PopUpManager.centerPopUp(this); } ]]> @@ -304,6 +309,7 @@ with BigBlueButton; if not, see . + diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml index c3e8fadef0..93a8b2b277 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml @@ -737,7 +737,7 @@ $Id: $