Make CharacterWindow bigger to accomodate traitor objectives (#5850)
* Move MinSize to the same place where the window is created * Adds BoxContainer to a ScrollContainer so it can resize in case of more objectives * Slight adjustment to ensure the convention is followed * Changes MinSize to SetSize so it can be resized to lower sizes and to stop it resizing every time you reopen it
This commit is contained in:
@@ -48,7 +48,11 @@ namespace Content.Client.CharacterInterface
|
||||
if (comp.UIComponents.Count == 0)
|
||||
return;
|
||||
|
||||
comp.Window = new CharacterInterfaceComponent.CharacterWindow(comp.UIComponents);
|
||||
comp.Window = new CharacterInterfaceComponent.CharacterWindow(comp.UIComponents)
|
||||
{
|
||||
SetSize = (545, 400)
|
||||
};
|
||||
|
||||
comp.Window.OnClose += () => _gameHud.CharacterButtonDown = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user