Skip to content

Change kRadialReactionRadius from 24 to 20#17620

Merged
HansMuller merged 1 commit intoflutter:masterfrom
HansMuller:radial_reaction_radius_20
May 15, 2018
Merged

Change kRadialReactionRadius from 24 to 20#17620
HansMuller merged 1 commit intoflutter:masterfrom
HansMuller:radial_reaction_radius_20

Conversation

@HansMuller
Copy link
Contributor

In addition to reducing the radial ink splash size for Radio, Checkbox and Switch, this change effectively reduces the sizes of Checkbox and Radio to 40x40 per the most recent Material spec. It will also unblock two recently reverted ListTile PRs:

#17496
#17580

This change was originally part of #14483. It will affect some layouts.

The current appearance of the radio buttons and the radial splash for checkbox and switch:

image

The new appearance:

image

@gspencergoog
Copy link
Contributor

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@HansMuller HansMuller merged commit 6dcb0d6 into flutter:master May 15, 2018
@Hixie
Copy link
Contributor

Hixie commented May 25, 2018

@HansMuller @gspencergoog

When making breaking changes of this nature please apply the breaking change policy:
https://flutter.io/design-principles/#handling-breaking-changes
In particular, sending the e-mail, waiting for feedback, and -- if the feedback is not negative -- updating the changelog when the PR lands. For this particular change, please include the diagrams in the changelog.

(And when reviewing PRs of this nature, please check that the process is being applied. :-) )

Going forward, we probably need to stop making this kind of breaking change (e.g. by padding the checkboxes so they maintain their size even as we change the size of the splash). We have too many customers now to be able to break people's layouts.

Thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants