.NET MAUI style problem with gradient colors - Android #11601
Labels
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
fixed-in-7.0.58
Look for this fix in 7.0.58!
fixed-in-7.0.100
fixed-in-7.0.101
fixed-in-8.0.0-preview.1.7762
Look for this fix in 8.0.0-preview.1.7762!
platform/android 🤖
t/bug
Something isn't working
Milestone
Description
I started using .NET MAUI recently and I found a problem with Styling.
I started with the basic project to make sure the problem is not something I made during the process.
The project starts with a button that will change text and size each time the user press it.
The problem is any time I use LinearGradientBrush directly or through the global styling, the button size doesn't change to fit the text, and even worse it moves to the left.
I looked everywhere but I didn't find any similar problem or solution.
It works well with Windows but not with Android
Code
Steps to Reproduce
Link to public reproduction project repository
https://github.com/AbanoubZak/NET-MAUI-gradient-color-styling-problem
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
All Android
Did you find any workaround?
Not yet
Relevant log output
No response
The text was updated successfully, but these errors were encountered: