- ui tweak on presentation window

git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@3469 af16638f-c34d-0410-8cfa-b39d5352b314
This commit is contained in:
Richard Alam 2010-01-24 15:01:48 +00:00
parent 6ed9c6ea54
commit f7bb2f4524

View File

@ -468,7 +468,14 @@
} }
private function showUploadPresentationLabel(show:Boolean):void { private function showUploadPresentationLabel(show:Boolean):void {
if (show) {
uploadPresentationLabel.text = ResourceUtil.getInstance().getString('bbb.presentation.clickToUpload'); uploadPresentationLabel.text = ResourceUtil.getInstance().getString('bbb.presentation.clickToUpload');
// uploadPresentationLabel.width = 100;
} else {
uploadPresentationLabel.text = "";
uploadPresentationLabel.width = 10;
}
uploadPresentationLabel.visible = show; uploadPresentationLabel.visible = show;
} }
@ -507,20 +514,20 @@
toolTip="{ResourceUtil.getInstance().getString('bbb.presentation.uploadPresBtn')}" toolTip="{ResourceUtil.getInstance().getString('bbb.presentation.uploadPresBtn')}"
click="dispatchEvent(new UploadEvent(UploadEvent.OPEN_UPLOAD_WINDOW))"/> click="dispatchEvent(new UploadEvent(UploadEvent.OPEN_UPLOAD_WINDOW))"/>
<mx:Label id="uploadPresentationLabel" visible="false" text="" width="10%"/> <mx:Label id="uploadPresentationLabel" visible="false" text="" width="10%"/>
<mx:Spacer width="5%" id="spacer1"/> <mx:Spacer width="50%" id="spacer1"/>
<mx:Button id="backButton" icon="{backwardIcon}" visible="false" width="30" height="20" <mx:Button id="backButton" icon="{backwardIcon}" visible="false" width="30" height="20"
toolTip="Previous slide." click="gotoPreviousSlide()"/> toolTip="Previous slide." click="gotoPreviousSlide()"/>
<mx:Label id="slideNumLbl" text=""/> <mx:Label id="slideNumLbl" text=""/>
<mx:Button id="forwardButton" icon="{forwardIcon}" visible="false" width="30" height="20" <mx:Button id="forwardButton" icon="{forwardIcon}" visible="false" width="30" height="20"
toolTip="Next slide" click="gotoNextSlide()"/> toolTip="Next slide" click="gotoNextSlide()"/>
<mx:Spacer width="10%" id="spacer2"/>
<mx:HSlider id="zoomSlider" visible="false" <mx:HSlider id="zoomSlider" visible="false"
minimum="100" maximum="400" value="100" dataTipPlacement="top" labels="['100%','400%']" minimum="100" maximum="400" value="100" dataTipPlacement="top" labels="['100%','400%']"
useHandCursor="true" snapInterval="5" allowTrackClick="true" liveDragging="true" useHandCursor="true" snapInterval="5" allowTrackClick="true" liveDragging="true"
dataTipFormatFunction="removeDecimalFromDataTip" change="onSliderZoom()" width="100" /> dataTipFormatFunction="removeDecimalFromDataTip" change="onSliderZoom()" width="75"/>
<mx:Spacer width="100%" id="spacer3"/> <mx:Spacer width="50%" id="spacer3"/>
<mx:Button id="btnResetZoom" icon="{magnifierIcon}" visible="false" width="20" height="20" <mx:Button id="btnResetZoom" icon="{magnifierIcon}" visible="false" width="20" height="20"
toolTip="Reset Zoom" click="onResetZoom()"/> toolTip="Reset Zoom" click="onResetZoom()"/>
<mx:Spacer width="5" id="spacer4"/>
<!--<mx:Button id="btnSelection" click="enableTextSelection()" />--> <!--<mx:Button id="btnSelection" click="enableTextSelection()" />-->
</mx:ApplicationControlBar> </mx:ApplicationControlBar>
</pres:MDIWindow> </pres:MDIWindow>