-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[regression/8.0.0-rc.1.9171] Unable to set Button TextColor #17413
Comments
I created a new .NET MAUI app updated the Here's all the code in that app:
And here's the entire
|
@samhouts there also seems to be a size issue. It just defaults to a size other than what I set in |
some of the styles are applied, some are not, so it's unlikely related to the style changes. it looks ok on maccatalyst (on main), I'm trying to repro on iOS |
Seeing the exact same issue. In some testing I did, it seems that Possibly related? #10293 |
@cfree789 is right. Setting |
I can confirm the CharacterSpacing prevent setting the TextColor on iOS |
reverting #13250 fixes it |
Description
No matter what I do, I can't seem to set the
TextColor
forButton
on iOS. Also, compared to .NET 7,FontSize
seems over sized -- see comparison screenshot below.I first started experiencing this with .NET 8 Preview 7. If I switch back to targeting .NET 7, everything goes back to normal.
I set the
Button
sytling inStyles.xaml
which looks like this:I also tried overriding these settings by specifying
TextColor
in theButton
control to no avail.Steps to Reproduce
Button
controlLink to public reproduction project repository
No response
Version with bug
8.0.0-rc.1.9171
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
7.0.92
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Haven't found a workaround yet
Relevant log output
No response
The text was updated successfully, but these errors were encountered: