-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 'em' to size TextField elements relatively to fontSize
Currently TextField is using fixed pixel values to size the different elements composing the component. However, if one wants to change the size of the component to fit a given design, it's hard to achieve as there is many sizings to manually set. This commit is a proposal to size the inner parts of the component relatively to the fontSize property of its root element, so it's the only property the user needs to touch.
- Loading branch information
Thomas Guillory
committed
Nov 9, 2015
1 parent
49feb2e
commit c53edec
Showing
3 changed files
with
37 additions
and
21 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
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