Better layout for BreakoutRoomSettings.mxml

This commit is contained in:
Ghaz Triki 2016-04-27 15:28:17 +01:00
parent d64f32dbaf
commit 1586e4dc8c
2 changed files with 11 additions and 10 deletions

View File

@ -138,20 +138,21 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
styleName="breakoutRoomSettingTitleStyle"/>
<mx:HBox id="roomsBox" paddingTop="20" width="100%">
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.users.breakout.rooms')}" />
<mx:ComboBox id="roomsCombo" width="50%" change="{startButton.enabled = false}" dataProvider="{roomsProvider}"/>
</mx:HBox>
<mx:HBox width="100%" paddingTop="20">
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.users.breakout.timeLimit')}" />
<mx:NumericStepper id="durationStepper" value="15" minimum="1" maximum="600"/>
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.users.breakout.minutes')}"/>
<mx:HBox width="50%" horizontalAlign="left">
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.users.breakout.rooms')}" />
<mx:ComboBox id="roomsCombo" width="80%" change="{startButton.enabled = false}" dataProvider="{roomsProvider}"/>
</mx:HBox>
<mx:HBox width="50%" horizontalAlign="right">
<mx:Label paddingLeft="40" text="{ResourceUtil.getInstance().getString('bbb.users.breakout.timeLimit')}" />
<mx:NumericStepper id="durationStepper" value="15" minimum="1" maximum="600"/>
<mx:Label text="{ResourceUtil.getInstance().getString('bbb.users.breakout.minutes')}"/>
</mx:HBox>
</mx:HBox>
<mx:Tile id="roomsContainer" width="100%" height="100%"
paddingTop="20" paddingBottom="20"/>
<mx:VBox>
<mx:VBox width="100%" horizontalAlign="center" verticalGap="12">
<mx:Button paddingLeft="20" id="randomAssignBtn" label="{ResourceUtil.getInstance().getString('bbb.users.breakout.randomAssign')}" click="assignUsers()"/>
<mx:Canvas width="100%" styleName="breakoutTipBox" backgroundColor="0xcccccc">
<mx:Text text="{ResourceUtil.getInstance().getString('bbb.users.breakout.dragAndDropToolTip')}"/>

View File

@ -554,7 +554,7 @@
}
private function breakoutRoomNameLabelFunction(item:Object, column:DataGridColumn) : String {
return ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room') + StringUtils.substringAfterLast(item.breakoutId, "-");
return ResourceUtil.getInstance().getString('bbb.users.roomsGrid.room') + " " + StringUtils.substringAfterLast(item.breakoutId, "-");
}
]]>
</mx:Script>