question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow custom size of FAB

See original GitHub issue

Describe the feature

Allow passing of size to FAB that will apply it to the FAB and the label (or perhaps, size and a sizeLabel prop)

Motivation

I wanted to create a custom FAB that’s bigger than the current one (single main button). However, since FAB styles are only applied to root, I can only change the size of the main/actual button, and if I do the label stays small.

Related Issues

https://github.com/callstack/react-native-paper/issues/1010

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5

github_iconTop GitHub Comments

4reactions
Secretmappercommented, Dec 15, 2019

Still a problem

3reactions
Pra3t0r5commented, Oct 30, 2020

Still a problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make custom size of FloatingActionButton
You can set custom size by following. **Set either height or width match_parent and another one according to yourself ** <android.support.design.widget.
Read more >
how to change the size of a fab in android studio (tutorial)
In this video I will show you how to change the size of your floating action button ( fab ) in android studio,...
Read more >
size - API Reference - Kendo UI FloatingActionButton
size String (default: 'medium'). Specifies the size of the FloatingActionButton. Valid options are "small" , "medium" , "large" and "none" .
Read more >
Add a Floating Action Button - Android Developers
This page shows you how to add the FAB to your layout, customize some of ... The size of the FAB, using the...
Read more >
Buttons: floating action button - Material Design
Container · FAB containers come in two sizes: 1. Default (56 x 56dp) 2. Mini (40 x 40dp) · This mini FAB creates...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found