Repository navigation
|
Hi everyone, started building a MAUI app in straight C#, and running into styling issues. Specifically using Microsoft.Maui.Controls.Shell, I'm having trouble getting the styling of the flyoutitem labels, and tabs on the shell. They also appear in different colours depending on whether the Maui app is run on Android, or in Windows. I can seem to make sense of it. I've been trying to find how to write my own default style and apply it to my own extended flyoutitem class for the labels/background etc, but can't see how to apply setters to the style. I also need to have visual state setters etc. Has anyone got any demo apps in github that do this? |
Replies: 3 comments 17 replies
|
We don't have any styling set around Shell in a non-XAML application but we do have a sample non-XAML application. Take a look at our Markup sample and let me know if that helps: https://github.com/CommunityToolkit/Maui.Markup/tree/main/samples |
|
Just FYI - since this is focused on C# + MAUI, I transferred this Discussion to the CommunityToolkit/Maui.Markup repo 👍 |
|
Closed and answered |
We don't have any styling set around Shell in a non-XAML application but we do have a sample non-XAML application. Take a look at our Markup sample and let me know if that helps:
https://github.com/CommunityToolkit/Maui.Markup/tree/main/samples