Maui App looks different on different platforms
On Windows and Android it looks as desired (see screenshot), but on Mac the TitleView is empty and has no content.
I've tried to add
RowDefinitions="Auto"
to the Grid, which made the stuff appear on Mac, so the issue is with sizing. But when I do put it to Auto, the content of the TitleView is not centered even tho I specified VerticalOptions=Center
everywhere. Any help?6 Replies
While I can't answer this question directly. I did want to give a more broadly scoped response.
Since Maui compiles to Native environment components for each supported platform. You're definitely going to experience issues keeping the "look" identical across said platforms.
It's very much like other "compile to native" libraries like React Native for example.
Maui w/Blazor and it's WebView2 rendering wrapper would allow you to create identical application UI's across each supported platform (with its own quirks of course). It behaves a lot more like Flutter in that sense - while architecturally very different of course.
Just tossing this in here.
actually not entirely true, you can achieve consistent designs with both Maui Blazor and Maui Xaml
it is consistent across different platforms, its just mac and iOS that don't work as expected, and I think its related to this issue: https://github.com/dotnet/maui/issues/15189
GitHub
Latest update to Visual Studio for Mac breaks CollectionView · Issu...
Description Yesterday (5/18/23) I had finished testing my CacheAll app on my Mac and was ready to upload it to the AppStore and run it from TestFlight. However, VS told me there was an update so I ...
apparently new version of Visual Studio Mac or Apple SDK or Maui SDK or whatever ruined how Layout components work on maccatalyst workload
@aquaritek