Uh oh!
There was an error while loading. Please reload this page.
1/n Nested Text textAlignVertical (Android) - Adding CustomStyleSpan API to align nested text vertically - #35949
1/n Nested Text textAlignVertical (Android) - Adding CustomStyleSpan API to align nested text vertically#35949fabOnReact wants to merge 107 commits into
Conversation
P type task |
Base commit: 26b2bb5 |
fabOnReact
commented
Feb 9, 2023
P type task |
fabOnReact@112eeeefabOnReact@d8556a7
P type task |
…avity.TOP (correct-behaviour, not-correct-behaviour, commit) react#35949 (comment)
…avity.TOP (correct-behaviour, not-correct-behaviour, commit) react#35949 (comment)
Fixed with fabOnReact@112eeeefabOnReact@d8556a7 CustomStyleSpan does not correctly align to the tophttps://www.icloud.com/iclouddrive/0c5XGBRUS_L8LQiOUY0K4lq4Q#abs_size_span_align_correctly CustomStyleSpan correctly aligns to the tophttps://www.icloud.com/iclouddrive/0ce2Z2PvcjrXWy5kQ2iCjDMug#custom_style_span_correctly_aligns |
Correctly aligning top/bottom with a different font family/stylehttps://www.icloud.com/iclouddrive/08ekjoNTUTIhPIY3nCF1C83mQ#using_different_font_style |
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 7 days with no activity. |
fabOnReact
commented
Jan 25, 2024
Should not have been closed. |
Summary
1/n of a series of pull requests (Nested Text textAlignVertical).
The CSS property vertically aligns the text relative to the lineHeight (comment).
https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align
This PR adds the option textAlignVertical in the
CustomStyleSpanconstructor to change the text baseline (vertical alignment). TheupdateDrawStatemethod is responsible for aligning the span (text) to the top or bottom.Update 2nd of February
Next PR: 2/n Nested Text textAlignVertical (Android) - adding textAlignVertical prop to NestedText #35704
Related:
fixes#30375#30375 (comment)
Changelog
[ANDROID] [ADDED] - Adding CustomStyleSpan API to align nested text vertically
Test Plan
Video tests of the functionality: #35949 (comment) and #35949 (comment)
Previous Video tests of the functionality in PR #35704
#35949 (comment)
#35704 (comment)
#35704 (comment)
#35704 (comment)
Previous Tests
#35704 (comment)
#35704 (comment)#35704 (comment)