Add parsing for Size.
This commit is contained in:
@@ -22,6 +22,8 @@ public class TestGame : Game
|
||||
_uiSystem = new UISystem(Input);
|
||||
// _uiSystem.RenderDebugRects = true;
|
||||
|
||||
ResourceManager.EnableFileWatching();
|
||||
|
||||
_particleSystem = new ParticleSystem();
|
||||
|
||||
AddSystemToUpdate(_uiSystem);
|
||||
@@ -80,8 +82,9 @@ public class TestGame : Game
|
||||
var outlineButton = new Button("Outline button", _defaultFontSet);
|
||||
outlineButton.StyleVariant = "Outline";
|
||||
|
||||
_buttonContainer.AddChild(addButton);
|
||||
_buttonContainer.AddChild(removeButton);
|
||||
var linkButton = new Button("Link button", _defaultFontSet);
|
||||
linkButton.StyleVariant = "Link";
|
||||
|
||||
|
||||
var c = new HorizontalContainer()
|
||||
{
|
||||
@@ -93,6 +96,7 @@ public class TestGame : Game
|
||||
c.AddChild(addButton);
|
||||
c.AddChild(removeButton);
|
||||
c.AddChild(outlineButton);
|
||||
c.AddChild(linkButton);
|
||||
|
||||
var vc = new VerticalContainer(0.0f);
|
||||
vc.AddChild(c);
|
||||
|
||||
Reference in New Issue
Block a user