Skip to content
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

letterSpacing Text style prop is not functional #8013

Closed
chiaramooney opened this issue Jun 10, 2021 · 3 comments
Closed

letterSpacing Text style prop is not functional #8013

chiaramooney opened this issue Jun 10, 2021 · 3 comments

Comments

@chiaramooney
Copy link
Contributor

Proposal: letterSpacing Text style prop is not functional

Summary

letterSpacing Test style prop should increase or decrease the spacing between characters. In RNW specifying with prop with any number results in no change in the rendered text.

Motivation

Text Style prop API Completion

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jun 10, 2021
@asklar
Copy link
Member

asklar commented Jun 11, 2021

Related to #5677

If we are able to get an ITextRange, we should be able to implement this via textRange.CharacterFormat.Spacing. See https://docs.microsoft.com/en-us/uwp/api/windows.ui.text.itextcharacterformat.spacing?view=winrt-20348

@chrisglein chrisglein removed the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Jun 14, 2021
@chrisglein chrisglein added this to the Backlog milestone Jun 14, 2021
@chrisglein
Copy link
Member

If this is only supported for rich text we'd need some way to switch from plain ole text to rich text depending on which APIs you use.

@chrisglein
Copy link
Member

Not something we plan to address on the Paper renderer as we move towards Fabric.
Fabric API completion for Text is tracked here: #11143

@chrisglein chrisglein closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants