-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for minEms, minWidth, maxEms, maxWidth in TextLayoutBuilder
Summary: Some attributes from `TextView` are still missing in `TextSpec`, specifically `maxEms` attribute was requested from engineers who are doing NewsFeed conversions to Components. `TextSpec` uses `TextLayoutBuilder` to do its layout and this diff adds support for `ems` and related attributes to `TextLayoutBuilder`, specifically `minEms`, `maxEms`, `minWidth`, `maxWidth`. Reviewed By: sriramramani Differential Revision: D4544590 fbshipit-source-id: 5f402d844811c5612af447150dc686c164e16f62
- Loading branch information
1 parent
1e0e4b3
commit 2e351ef
Showing
2 changed files
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters