Merge FlexContainer, WIP dynamic container resizing.
This commit is contained in:
@@ -125,5 +125,13 @@ public class TestGame : Game
|
||||
private ResourceRef<Sound> _sound;
|
||||
private ResourceRef<Texture2d> _icon;
|
||||
|
||||
private GridContainer _container = new(minimumSize: new Rect(64.0f, 64.0f), new());
|
||||
private FlexContainer _container = new(minimumSize: new Rect(64.0f, 64.0f), new())
|
||||
{
|
||||
Size = new Rect(500, 300),
|
||||
Direction = FlexDirection.Row,
|
||||
Justify = JustifyContent.Start,
|
||||
Align = AlignItems.Center,
|
||||
Wrap = true,
|
||||
Gap = 10f
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user