Add ConfineToChildren to Container, containers will use MinimumRect as a size if a given size is smaller than minimum, update documentation for Container.
This commit is contained in:
@@ -127,6 +127,7 @@ public class TestGame : Game
|
||||
|
||||
private FlexContainer _container = new(minimumSize: new Rect(64.0f, 64.0f), new())
|
||||
{
|
||||
ConfineToContents = false,
|
||||
Size = new Rect(500, 300),
|
||||
Direction = FlexDirection.Row,
|
||||
Justify = JustifyContent.Start,
|
||||
|
||||
Reference in New Issue
Block a user