WPF layout (#3346)
This commit is contained in:
committed by
GitHub
parent
33d6975c25
commit
b898443f28
@@ -20,10 +20,9 @@ namespace Content.Client.GameObjects.Components.Crayon
|
||||
private string _selected;
|
||||
private Color _color;
|
||||
|
||||
protected override Vector2? CustomSize => (250, 300);
|
||||
|
||||
public CrayonWindow(CrayonBoundUserInterface owner)
|
||||
{
|
||||
MinSize = SetSize = (250, 300);
|
||||
Title = Loc.GetString("Crayon");
|
||||
Owner = owner;
|
||||
|
||||
@@ -40,7 +39,7 @@ namespace Content.Client.GameObjects.Components.Crayon
|
||||
};
|
||||
var gridScroll = new ScrollContainer()
|
||||
{
|
||||
SizeFlagsVertical = SizeFlags.FillExpand,
|
||||
VerticalExpand = true,
|
||||
Children =
|
||||
{
|
||||
_grid
|
||||
@@ -115,7 +114,7 @@ namespace Content.Client.GameObjects.Components.Crayon
|
||||
var rsi = new SpriteSpecifier.Rsi(path, state);
|
||||
_decals.Add(state, rsi.Frame0());
|
||||
}
|
||||
|
||||
|
||||
RefreshList();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user