Skip to content
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

The icons are all a little de-centered #10

Open
MasiaVittorio opened this issue Jul 17, 2019 · 2 comments
Open

The icons are all a little de-centered #10

MasiaVittorio opened this issue Jul 17, 2019 · 2 comments

Comments

@MasiaVittorio
Copy link

If you put an icon from the material "Icons" inside a coloured Container, you'll notice it is perfectly centered. If you do so with any of the "MdiIcons" (even if you pick an icon that is also on the standard material library) you'll see it has a bit of a top padding and that breaks most of the buttons that use this library because seeing a FloatingActionButton with a non centered icon in it is not that pretty.

Is there even a solution to this?

@ziofat
Copy link
Owner

ziofat commented Jul 18, 2019

I will look into this soon. A little busy recently.

@ziofat
Copy link
Owner

ziofat commented Jul 18, 2019

I took a quick look and I do notice that MdiIcons have a bit offset down compare to Icons on my Pixel phone. But this does not appear on iPhone.

Meanwhile, I also tried to put two Icons (one is from Icons and one is from MdiIcons) in actions of an Appbar, and they are perfectly match.

I assume this might be related to FAB and I will test with other community icons later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants