I have a Flex Layout located in a StackLayout in my contextmenu. In the Screenshot all below the black line(the white area) is the Flex Layout control.
The 9 Frames inside there are my Items which have a fixed size, but the ammount of them is variable. As its obvious to see the Rows itself aren't centered inside the control, but exactly this is what I want to achieve.
I tried a lot with the Properties, but could not get the Items centered. (Also a test with a 3 Column Grid to shrink the width of the Flex layout didn't work)
Someone here has some ideas what else I could try to achieve the desired result?

JustifyContent="SpaceAround" will do the trick
For more Flex Layout options and element placing, have a look at this site. They explain it with CSS, but the same properties are used in Xamarins FlexLayout too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With