Allow crew manifest window resizing (#12825)

This commit is contained in:
Leon Friedrich
2022-12-07 12:46:19 +13:00
committed by GitHub
parent ff9cf108b6
commit 7f234d4e3b
2 changed files with 1 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
using Content.Client.Eui; using Content.Client.Eui;
using Content.Client.GameTicking.Managers;
using Content.Shared.CrewManifest; using Content.Shared.CrewManifest;
using Content.Shared.Eui; using Content.Shared.Eui;
using JetBrains.Annotations; using JetBrains.Annotations;
@@ -9,12 +8,10 @@ namespace Content.Client.CrewManifest;
[UsedImplicitly] [UsedImplicitly]
public sealed class CrewManifestEui : BaseEui public sealed class CrewManifestEui : BaseEui
{ {
private readonly ClientGameTicker _gameTicker;
private readonly CrewManifestUi _window; private readonly CrewManifestUi _window;
public CrewManifestEui() public CrewManifestEui()
{ {
_gameTicker = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ClientGameTicker>();
_window = new(); _window = new();
_window.OnClose += () => _window.OnClose += () =>

View File

@@ -1,7 +1,7 @@
<DefaultWindow xmlns="https://spacestation14.io" <DefaultWindow xmlns="https://spacestation14.io"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls" xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Title="{Loc 'crew-manifest-window-title'}" Title="{Loc 'crew-manifest-window-title'}"
MinSize="450 750"> SetSize="450 750">
<BoxContainer Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True"> <BoxContainer Orientation="Vertical" VerticalExpand="True" HorizontalExpand="True">
<controls:StripeBack Name="StationNameContainer"> <controls:StripeBack Name="StationNameContainer">
<PanelContainer> <PanelContainer>