Skip to content

Commit

Permalink
WD EDIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Sep 7, 2024
1 parent e1672e5 commit ee5d31b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Content.Client/Lobby/LobbyState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ private void SetReady(bool newReady)
_consoleHost.ExecuteCommand($"toggleready {newReady}");
}

// WD EDIT START
private void MakeButtonReady(WhiteLobbyTextButton button)
{
button.ButtonText = Loc.GetString("lobby-state-ready-button-ready-up-state");
Expand Down Expand Up @@ -349,5 +350,6 @@ private TextureRect GetIcon(ChangelogManager.ChangelogLineType type)
ModulateSelfOverride = Color.FromHex(color)
};
}
// WD EDIT END
}
}
4 changes: 2 additions & 2 deletions Content.Client/Lobby/UI/LobbyGui.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</BoxContainer>
<!-- Right Panel -->
<PanelContainer Name="RightSide" StyleClasses="LobbyBackground" HorizontalAlignment="Right" VerticalExpand="True"
VerticalAlignment="Stretch">
VerticalAlignment="Stretch"><!-- WD EDIT -->
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<!-- Top row -->
<BoxContainer Orientation="Horizontal" MinSize="0 40" Name="HeaderContainer" Access="Public"
Expand All @@ -106,7 +106,7 @@
<!-- Server info -->
<controls:NanoHeading Text="{Loc 'ui-lobby-server-info-block'}" />
<info:ServerInfo Name="ServerInfo" Access="Public" MinSize="0 100" VerticalExpand="false"
Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left" />
Margin="3 3 3 3" MaxWidth="400" HorizontalAlignment="Left" /><!-- WD EDIT -->
<Label Name="StationTime" Access="Public" FontColorOverride="{x:Static maths:Color.MediumVioletRed}"
Margin="3 3 3 3" HorizontalAlignment="Left" />
<Label Name="StartTime" Access="Public" FontColorOverride="{x:Static maths:Color.MediumVioletRed}"
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public CharacterPickerButton(
{
Text = description,
ClipText = true,
MinSize = new Vector2(100, 0),
MinSize = new Vector2(100, 0), // WD EDIT
HorizontalExpand = true
};
var deleteButton = new Button
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Stylesheets/StyleNano.cs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public StyleNano(IResourceCache resCache) : base(resCache)
actionSearchBox.SetPatchMargin(StyleBox.Margin.All, 3);
actionSearchBox.SetContentMarginOverride(StyleBox.Margin.Horizontal, 5);

var tabContainerPanelTex = resCache.GetTexture("/Textures/_White/Interface/Nano/lobby.png");
var tabContainerPanelTex = resCache.GetTexture("/Textures/_White/Interface/Nano/lobby.png"); // WD EDIT
var tabContainerPanel = new StyleBoxTexture
{
Texture = tabContainerPanelTex,
Expand Down

0 comments on commit ee5d31b

Please sign in to comment.