-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Typography Panel: Update typography controls for display in ToolsPanel #35451
Typography Panel: Update typography controls for display in ToolsPanel #35451
Conversation
This removes the redundant font size picker when used within the ToolsPanel. It also tweaks the styles to lay out the component nicely and leave the spacing to the ToolsPanel grid layout.
Renamed to improve clarity of purpose. Also added to README.
Size Change: +99 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
Thank you for opening this PR to tackle these styling issue separately from other work! While I haven't had the time yet to look into this (I will try to do so between before Monday EOD), I just wanted to flag that @ntsekouras has also been working on the |
Thanks @ciampo. Apologies for the slow reply, I've been AFK the last few days. There was some discussion that we may wish to land the PR switching the Typography Panel to a The latest info I have is that the new controls may only be a few days away from being merged. I'm happy to close this PR and wait for the new controls. At that point, I'll update #33744 again and can create new issues for any issues uncovered at that point. |
Sounds like a good plan to me, thank you so much for your flexibility in coordinating with parallel work happening on those components! |
Depends on:
Related:
Description
This PR includes:
showResetButton
prop for the existingFontSizePicker
which allows it to be hidden when made redundant by the control's inclusion within aToolsPanel
FontSizePicker
so the predefined and custom fields take up available space and line up neatlyToolsPanel
grid layout.Important
If the new typography controls land before the Typography switch to the
ToolsPanel
, this PR is not required.How has this been tested?
Manually.
ToolsPanel
Screenshots
Types of changes
New Feature
Checklist:
*.native.js
files for terms that need renaming or removal).