Fix inaccessible ready button in lobby (#8465)
* Fix inaccesible ready button in lobby * a * vote popups * splitz
This commit is contained in:
@@ -179,7 +179,6 @@ namespace Content.Client.Lobby
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void LobbyStatusUpdated()
|
private void LobbyStatusUpdated()
|
||||||
{
|
{
|
||||||
UpdateLobbyBackground();
|
UpdateLobbyBackground();
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<Control xmlns="https://spacestation14.io"
|
<Control xmlns="https://spacestation14.io"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:maths="clr-namespace:Robust.Shared.Maths;assembly=Robust.Shared.Maths"
|
xmlns:maths="clr-namespace:Robust.Shared.Maths;assembly=Robust.Shared.Maths"
|
||||||
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
|
||||||
@@ -10,12 +10,14 @@
|
|||||||
xmlns:chatUi="clr-namespace:Content.Client.Chat.UI"
|
xmlns:chatUi="clr-namespace:Content.Client.Chat.UI"
|
||||||
xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI"
|
xmlns:lobbyUi="clr-namespace:Content.Client.Lobby.UI"
|
||||||
xmlns:info="clr-namespace:Content.Client.Info">
|
xmlns:info="clr-namespace:Content.Client.Info">
|
||||||
<Control>
|
<!-- Background -->
|
||||||
<!-- Background -->
|
<TextureRect Access="Public" Name = "Background" Stretch="KeepAspectCovered"/>
|
||||||
<TextureRect Access="Public" Name = "Background" Stretch="KeepAspectCovered"/>
|
<BoxContainer Orientation="Horizontal" Margin="10 10 10 10" SeparationOverride="2">
|
||||||
<Control Margin="10 10 10 10" >
|
<SplitContainer State="Auto" HorizontalExpand="True">
|
||||||
<!-- Left Top Panel -->
|
<!-- LHS Controls -->
|
||||||
<PanelContainer StyleClasses="AngleRect" HorizontalAlignment="Left" Name = "LeftSideTop" VerticalExpand="True" VerticalAlignment="Top" >
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True">
|
||||||
|
<!-- Left Top Panel -->
|
||||||
|
<PanelContainer StyleClasses="AngleRect" HorizontalAlignment="Left" Name = "LeftSideTop" VerticalAlignment="Top" >
|
||||||
<BoxContainer Orientation="Vertical" HorizontalAlignment="Center" MaxWidth="620">
|
<BoxContainer Orientation="Vertical" HorizontalAlignment="Center" MaxWidth="620">
|
||||||
<info:LinkBanner Name="LinkBanner" VerticalExpand="false" HorizontalAlignment="Center" Margin="3 3 3 3"/>
|
<info:LinkBanner Name="LinkBanner" VerticalExpand="false" HorizontalAlignment="Center" Margin="3 3 3 3"/>
|
||||||
<hudUi:StripeBack>
|
<hudUi:StripeBack>
|
||||||
@@ -28,45 +30,51 @@
|
|||||||
StyleClasses="LabelBig" HorizontalExpand="True" />
|
StyleClasses="LabelBig" HorizontalExpand="True" />
|
||||||
<Button Name="ReadyButton" Access="Public" ToggleMode="True" Text="{Loc 'ui-lobby-ready-up-button'}"
|
<Button Name="ReadyButton" Access="Public" ToggleMode="True" Text="{Loc 'ui-lobby-ready-up-button'}"
|
||||||
StyleClasses="ButtonBig" />
|
StyleClasses="ButtonBig" />
|
||||||
</BoxContainer></hudUi:StripeBack>
|
</BoxContainer>
|
||||||
|
</hudUi:StripeBack>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
<!-- Left Bot Panel -->
|
<!-- Voting Popups -->
|
||||||
<BoxContainer Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" MaxWidth="620">
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" Name="VoteContainer" Access="Public" HorizontalAlignment="Left" VerticalAlignment="Top"/>
|
||||||
<info:DevInfoBanner Name="DevInfoBanner" VerticalExpand="false" Margin="3 3 3 3"/>
|
<!-- Vertical Padding-->
|
||||||
|
<Control VerticalExpand="True"/>
|
||||||
|
<!-- Left Bot Panel -->
|
||||||
|
<BoxContainer Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Bottom" MaxWidth="620">
|
||||||
|
<info:DevInfoBanner Name="DevInfoBanner" VerticalExpand="false" Margin="3 3 3 3"/>
|
||||||
|
</BoxContainer>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<!-- RightPanel Panel -->
|
<!-- Right Panel -->
|
||||||
<PanelContainer Name="RightSide" StyleClasses="AngleRect" HorizontalAlignment= "Right" VerticalExpand="True" VerticalAlignment="Stretch">
|
<PanelContainer Name="RightSide" StyleClasses="AngleRect" VerticalExpand="True" VerticalAlignment="Stretch">
|
||||||
<BoxContainer Orientation="Vertical">
|
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
|
||||||
<!-- Top row -->
|
<!-- Top row -->
|
||||||
<BoxContainer Orientation="Horizontal" MinSize="0 40" Name="HeaderContainer" Access="Public">
|
<BoxContainer Orientation="Horizontal" MinSize="0 40" Name="HeaderContainer" Access="Public" SeparationOverride="4">
|
||||||
<Label Margin="8 0 0 0" StyleClasses="LabelHeadingBigger" VAlign="Center" Text="{Loc 'ui-lobby-title'} " />
|
<Label Margin="8 0 0 0" StyleClasses="LabelHeadingBigger" VAlign="Center" Text="{Loc 'ui-lobby-title'} " />
|
||||||
<Label Name="ServerName" Access="Public" StyleClasses="LabelHeadingBigger" VAlign="Center" />
|
<Label Name="ServerName" Access="Public" StyleClasses="LabelHeadingBigger" VAlign="Center" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<!-- Gold line -->
|
<!-- Gold line -->
|
||||||
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2"/>
|
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2"/>
|
||||||
<ui:HSpacer Spacing="10"/>
|
<ui:HSpacer Spacing="10"/>
|
||||||
<!-- Voting bar -->
|
<!-- Voting & misc button bar -->
|
||||||
<BoxContainer Orientation="Horizontal" MinSize="0 40" Name="VoteContainer" Access="Public" HorizontalAlignment="Right">
|
<BoxContainer Orientation="Horizontal" MinSize="0 40" HorizontalAlignment="Right">
|
||||||
<cc:CommandButton Name = "AHelpButton" Command="openahelp" Access="Public" Text = "{Loc 'ui-lobby-ahelp-button'}" StyleClasses="ButtonBig"/>
|
<cc:CommandButton Name = "AHelpButton" Command="openahelp" Access="Public" Text = "{Loc 'ui-lobby-ahelp-button'}" StyleClasses="ButtonBig"/>
|
||||||
<vote:VoteCallMenuButton Name="CallVoteButton" StyleClasses="ButtonBig" />
|
<vote:VoteCallMenuButton Name="CallVoteButton" StyleClasses="ButtonBig" />
|
||||||
<Button Name="OptionsButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-options-button'}" />
|
<Button Name="OptionsButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-options-button'}" />
|
||||||
<Button Name="LeaveButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-leave-button'}" />
|
<Button Name="LeaveButton" Access="Public" StyleClasses="ButtonBig" Text="{Loc 'ui-lobby-leave-button'}" />
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
<ui:HSpacer Spacing="10"/>
|
<ui:HSpacer Spacing="10"/>
|
||||||
<!-- Server info -->
|
<!-- Server info -->
|
||||||
<hudUi:NanoHeading Text="{Loc 'ui-lobby-server-info-block'}" />
|
<hudUi:NanoHeading Text="{Loc 'ui-lobby-server-info-block'}" />
|
||||||
<info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 30" VerticalExpand="false" Margin="3 3 3 3" MaxWidth="400"/>
|
<info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 30" VerticalExpand="false" Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left"/>
|
||||||
<ui:HSpacer Spacing="5"/>
|
<ui:HSpacer Spacing="5"/>
|
||||||
<lobbyUi:LobbyCharacterPreviewPanel Name="CharacterPreview" Access="Public"></lobbyUi:LobbyCharacterPreviewPanel>
|
<lobbyUi:LobbyCharacterPreviewPanel Name="CharacterPreview" Access="Public"></lobbyUi:LobbyCharacterPreviewPanel>
|
||||||
<ui:HSpacer Spacing="5"/>
|
<ui:HSpacer Spacing="5"/>
|
||||||
<BoxContainer MinHeight="10"/>
|
<BoxContainer MinHeight="10"/>
|
||||||
<!-- Gold line -->
|
<!-- Gold line -->
|
||||||
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2" Access="Public"/>
|
<ui:HLine Color="{x:Static style:StyleNano.NanoGold}" Thickness="2" Access="Public"/>
|
||||||
<ui:HSpacer Spacing="10"/>
|
<ui:HSpacer Spacing="10"/>
|
||||||
<chatUi:ChatBox Name="Chat" Access="Public" VerticalExpand="True" Margin="3 3 3 3" MinHeight="50"/>
|
<chatUi:ChatBox Name="Chat" Access="Public" VerticalExpand="True" Margin="3 3 3 3" MinHeight="50"/>
|
||||||
</BoxContainer>
|
</BoxContainer>
|
||||||
</PanelContainer>
|
</PanelContainer>
|
||||||
</Control>
|
</SplitContainer>
|
||||||
</Control>
|
</BoxContainer>
|
||||||
</Control>
|
</Control>
|
||||||
|
|||||||
Reference in New Issue
Block a user