Comments (4)
I fixed it.
<RadioButton
{...otherProps}
labelStyle={{ fontSize: 15, lineHeight: 15 }}/>
but lineHeight style is not necessary i think.
from react-native-simple-radio-button.
@joint-song
Thank you for your issue.
I will check 😺
from react-native-simple-radio-button.
Looks good. Was it fine?
I will clear up this component in the near future. 😸
If you have any problem about this, please reopen this.
Thank you
from react-native-simple-radio-button.
It works fine with setting fontSize
and lineHeight
for iOS. On Android the radio and the label are not aligned. Tried to play with buttonStyle
and buttonWrapStyle
but did not help.
Usage example:
<RadioForm
...
style={{ alignItems: 'flex-start' }}
labelStyle={{ fontSize: 50, lineHeight: 70, marginLeft: 30 }}
/>
from react-native-simple-radio-button.
Related Issues (20)
- onPress called with different param type
- TestID does not work HOT 2
- I made three radio buttons using pro, the last one is not clickable
- How to style button label in RadioForm
- buttonColor prop not working on selected radio button HOT 1
- Initial is not working on radio form tag HOT 1
- Misleading README.md HOT 1
- how to put a separator in between radio buttons like as shown in customizable example? HOT 1
- Label gets cut off for fontSize > 22
- React.createClass deprecated HOT 1
- make the selected label bold HOT 1
- rtl radio HOT 3
- This lib added totally unwanted animations to my project in Android
- Move radio button to next row if more then 2
- maxFontSizeMultiplier for RadioButtonLabel
- how to bind selected value in initial HOT 1
- setstate of hook inside onPress not working ! HOT 1
- How to reset the value of the radio buttons?
- Is Selected by Value
- Not accessible (a11y)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-simple-radio-button.