Hide the vertical separator in MainToolbar when the logo is not displayed.
This commit is contained in:
parent
3b6a182603
commit
cc8e41bc16
@ -486,6 +486,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
private function hideLogo():void {
|
private function hideLogo():void {
|
||||||
logo.visible = logo.includeInLayout = false;
|
logo.visible = logo.includeInLayout = false;
|
||||||
|
logoSperatator.visible = logo.includeInLayout = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function addSettingsComponent(e:SettingsComponentEvent = null):void {
|
private function addSettingsComponent(e:SettingsComponentEvent = null):void {
|
||||||
@ -528,7 +529,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
<mx:HBox id="topBox" width="100%" verticalAlign="middle" horizontalScrollPolicy="off" styleName="topBoxStyle">
|
<mx:HBox id="topBox" width="100%" verticalAlign="middle" horizontalScrollPolicy="off" styleName="topBoxStyle">
|
||||||
<mx:HBox id="titleBox" width="40%" horizontalAlign="left" verticalAlign="middle" horizontalScrollPolicy="off">
|
<mx:HBox id="titleBox" width="40%" horizontalAlign="left" verticalAlign="middle" horizontalScrollPolicy="off">
|
||||||
<mx:Image id="logo" right="20" maxHeight="35" ioError="hideLogo()" />
|
<mx:Image id="logo" right="20" maxHeight="35" ioError="hideLogo()" />
|
||||||
<mx:VRule styleName="toolbarSeparator" height="10" />
|
<mx:VRule id="logoSperatator" styleName="toolbarSeparator" height="10" />
|
||||||
<mx:Label id="meetingNameLbl" minWidth="1" styleName="meetingNameLabelStyle" width="100%" truncateToFit="true"/>
|
<mx:Label id="meetingNameLbl" minWidth="1" styleName="meetingNameLabelStyle" width="100%" truncateToFit="true"/>
|
||||||
</mx:HBox>
|
</mx:HBox>
|
||||||
<mx:HBox id="actionBox" width="30%" horizontalAlign="center" verticalAlign="middle" horizontalScrollPolicy="off">
|
<mx:HBox id="actionBox" width="30%" horizontalAlign="center" verticalAlign="middle" horizontalScrollPolicy="off">
|
||||||
|
Loading…
Reference in New Issue
Block a user