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

Strange sizing issues #73

Closed
KirilOkun opened this issue May 3, 2018 · 1 comment
Closed

Strange sizing issues #73

KirilOkun opened this issue May 3, 2018 · 1 comment

Comments

@KirilOkun
Copy link

KirilOkun commented May 3, 2018

screenshot_1525327419
screenshot_1525327430

Just just added FAB on 2 similar pages inside a grid layout. Both are set to width and height of 50. But the size of the button visibly changes between the pages. Screenshots attached. Why does the size of FAB changes despite the set width and height?

It also looks like the + icons are too small. Is there a way to use FontAwesome icons in the FAB rather than providing separate images?

Thanks in advance.

@bradmartin
Copy link
Collaborator

I'm not sure on the sizing, possibly some other css/styles on the different pages.

As for the images/font/text question - #53 on Android it's not very simple to do with the native FAB. However, you can always mock a FAB with a Button in NS using border-radius, height/width and then you could use font icons with no issue, that's actually a solid approach for most apps and is more flexible IMO. I love the native FAB widget myself but sometimes it's not the best option unfortunately.

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