-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes InputDecorator to work with textScaleFactor, fixes Material Des…
…ign differences. (#12595) Fixes InputDecorator to work with textScaleFactor, fixes Material Design differences. There were a number of differences with the Material Design spec, including several different padding values and underline thickness. This corrects that so that the decorator is in line with the Material Design spec now. Also, the decorator properly handles changes to the textScaleFactor, where before it would not re-layout when needed, painting the cursor and underline incorrectly. The decorator also now properly animates helper, error, and hint text when the textScaleFactor or input decoration properties change. Helper text is now properly displayed in dense mode, as the spec shows. Before this change, it was never displayed in dense mode. Fixes #12485
- Loading branch information
1 parent
7e09649
commit 67cf791
Showing
5 changed files
with
414 additions
and
88 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
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
Oops, something went wrong.