Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Fix text color usage for different visual states when using a button with character spacing #15296

Closed
wants to merge 1 commit into from

Conversation

kenkosmowski
Copy link

This PR fixes an issue where title color of a button on iOS won't update when switching between different visual states and using character spacing.

Description of Change

I only added a call to UpdateText() on ButtonLayoutRenderer when TextColor property changed.

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

Title color of button gets updated when visual state changed,

Before/After Screenshots

Not applicable

Testing Procedure

Use a button with character spacing and add different text colors for different visual states. Switching between these visual states will change the text color.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@jfversluis
Copy link
Member

jfversluis commented Apr 7, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@thisisthekap
Copy link
Contributor

@jfversluis Any chance that this one is making it into a Xamarin.Forms service release?

@jfversluis
Copy link
Member

Now that we're so close to the sunsetting of Xamarin.Forms unfortunately we won't be able to take this in anymore, we're really sorry about that. Nevertheless, thank you so much for your time and effort that you have put into this PR.

Please have a look at the evolution of Xamarin.Forms, .NET MAUI. A lot of development has been going on there. Hopefully this issue was already fixed in that codebase. If not, feel free to port this over to there.

Again, thank you so much for being a contributor and Xamarin.Forms user!

@jfversluis jfversluis closed this Apr 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants