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:
@@ -41,7 +41,11 @@ namespace Content.Client.CharacterInterface
|
||||
{
|
||||
Orientation = LayoutOrientation.Vertical
|
||||
};
|
||||
Contents.AddChild(contentsVBox);
|
||||
|
||||
var mainScrollContainer = new ScrollContainer { };
|
||||
mainScrollContainer.AddChild(contentsVBox);
|
||||
|
||||
Contents.AddChild(mainScrollContainer);
|
||||
|
||||
windowComponents.Sort((a, b) => ((int) a.Priority).CompareTo((int) b.Priority));
|
||||
foreach (var element in windowComponents)
|
||||
|
||||
Reference in New Issue
Block a user