MainApplicationShell height fix to remove the script execution timeout in GraphicsWrapper.

This commit is contained in:
Ghazi Triki 2015-08-02 15:30:08 +01:00
parent 3c52404140
commit f6bbe498ee

View File

@ -27,11 +27,18 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
xmlns:mate="http://mate.asfusion.com/"
xmlns:maps="org.bigbluebutton.main.maps.*"
xmlns:api="org.bigbluebutton.main.api.*"
width="100%" height="100%"
width="100%" height="{parentApplication.height - 1}"
horizontalScrollPolicy="off" verticalScrollPolicy="off"
creationComplete="initializeShell()"
xmlns:common="org.bigbluebutton.common.*">
<!--
height="{parentApplication.height - 1}" : The container height is set to fix height because the percentHeight
generates a script execution timeout in the GraphicsWrapper class. We also remove one pixel to force the first
update as the height property needs a value different from thec current one to be updated.
-->
<mate:Listener type="{OpenWindowEvent.OPEN_WINDOW_EVENT}" method="handleOpenWindowEvent" />
<mate:Listener type="{CloseWindowEvent.CLOSE_WINDOW_EVENT}" method="handleCloseWindowEvent"/>
<mate:Listener type="{AddUIComponentToMainCanvas.ADD_COMPONENT}" method="addComponentToCanvas" />