Allow crew manifest window resizing (#12825)
This commit is contained in:
@@ -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 += () =>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user