-
Notifications
You must be signed in to change notification settings - Fork 368
Cannot resize button size with width or height #74
Comments
Agree with MLeung |
How to change button text font-size? |
@tarun29061990 I had to fork the repo and modify the source code. There's a lot of hard code, so makes sense why you can't resize the buttons. |
@mileung What about this https://github.com/xinthink/react-native-material-kit? |
@tarun29061990 Thanks, that library looks like you can resize the buttons. Not sure if you can adjust fontSize though. |
It has said here: https://github.com/react-native-material-design/react-native-material-design.github.io/blob/master/components/button.md You have to put button in a parent to resize it. |
In React Native you can achieve it using a Button inside a View and set the width of View |
@engrrbilal You are right. |
Cannot resize button size with width or height.
Buttons do not resize for some reason. I'm pretty sure I'm doing it the wrong way, but can't seem to find any documentation on it (or the raised property).
The text was updated successfully, but these errors were encountered: