From 086dc6d806c2a806eec44f878ad3111967a1e75d Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Tue, 3 Sep 2013 08:13:37 +0100 Subject: [PATCH] Improving performances by removing Spacer component when possible, replacing them by style values and replacing boxes containers by canvases. --- .../main/views/CameraDisplaySettings.mxml | 10 +---- .../bigbluebutton/main/views/MicSettings.mxml | 36 +++++------------ .../chat/views/ChatMessageRenderer.mxml | 16 +++----- .../modules/notes/views/NoteRenderer.mxml | 7 ++-- .../present/ui/views/FileUploadWindow.mxml | 40 ++++++------------- .../modules/users/views/UsersWindow.mxml | 1 - 6 files changed, 33 insertions(+), 77 deletions(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/CameraDisplaySettings.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/CameraDisplaySettings.mxml index 9cad4d279e..986a00944b 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/CameraDisplaySettings.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/CameraDisplaySettings.mxml @@ -305,33 +305,27 @@ with BigBlueButton; if not, see . - + - - - - + - - - \ No newline at end of file diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/MicSettings.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/MicSettings.mxml index 0321ad2bfc..a2aacb2197 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/MicSettings.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/MicSettings.mxml @@ -182,29 +182,22 @@ with BigBlueButton; if not, see . - + + tabIndex="{baseIndex}" width="400" left="0"/> - - + - - - - - - - - - - + + + + . toolTip="{ResourceUtil.getInstance().getString('bbb.micSettings.changeMic.toolTip')}"/> - - - - - - - - + . - - + - . ]]> - - - + + - - - - - + color="gray" right="0" width="100%"/> + + diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/notes/views/NoteRenderer.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/notes/views/NoteRenderer.mxml index 2c73f9ff79..1ddc9d4dcc 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/notes/views/NoteRenderer.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/notes/views/NoteRenderer.mxml @@ -63,10 +63,9 @@ with BigBlueButton; if not, see . - + - - - + + diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml index e618dd1d2a..abf7cb6f65 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/present/ui/views/FileUploadWindow.mxml @@ -271,27 +271,20 @@ with BigBlueButton; if not, see . - - - - + + - - - - + - - - - + @@ -299,28 +292,19 @@ with BigBlueButton; if not, see . styleName="presentationUploadProgressBarStyle" labelPlacement="center" width="460" visible="false"/> - - - - - - - - - + + - - - - + + - - + 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 41129ef15a..270b4e18c7 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/users/views/UsersWindow.mxml @@ -396,7 +396,6 @@ width="30" height="30" toolTip="{ResourceUtil.getInstance().getString('bbb.users.raiseHandBtn.toolTip')}" click="raiseHand()" visible="false" tabIndex="{partOptions.baseTabIndex+15}" /> -