dotnet / dotnet/maui

FlexLayout AlignContent doesn't work

Open
#9,154 7 comments 1 reaction 0 assignees View on GitHub
area-layout layout-flex platform/android s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

![image](https://user-images.githubusercontent.com/41873/182446262-d753c05c-7618-475e-bd93-e1af49ac9604.png)

https://docs.microsoft.com/en-us/dotnet/maui/user-interface/layouts/flexlayout#aligncontent

~"SpaceAroun" should be "SpaceAround"~

~"SpaceAround" squiggles as an invalid value.~ (this is fixed already)

Also doesn't work.

image

### Steps to Reproduce

```


```

### Version with bug

6.0.408 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

Android

### Affected platform versions

31

### Did you find any workaround?

_No response_

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running the reported FlexLayout sample on Android platform version 31 and compare AlignContent="SpaceAround" with the linked documentation. Trace the FlexLayout AlignContent entry point to determine why the layout does not distribute the two buttons as documented; done means the sample produces the expected SpaceAround arrangement.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.