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

rtl radio #163

Open
sam9010 opened this issue May 31, 2021 · 3 comments
Open

rtl radio #163

sam9010 opened this issue May 31, 2021 · 3 comments

Comments

@sam9010
Copy link

sam9010 commented May 31, 2021

I want to show label in left and radio in right

plz help me

@ChetanBains
Copy link

ChetanBains commented Sep 7, 2021

Hi, @sam9010 Can you elaborate on the issue? You can set RadioButtonLabel before RadioButtonInput.

@moGeekHex
Copy link

Hi, @sam9010 Can you elaborate on the issue? You can set RadioButtonLabel before RadioButtonInput.

how ?

@sam9010
Copy link
Author

sam9010 commented Dec 19, 2021

my sample code:
<View style={{flex:1}}> <View style={{flex:0.2}}> <Text allowFontScaling={false} style={{fontFamily:'font',}}>{strings.cancellation}</Text> </View> <View style={{flex:0.8,alignItems:'center',}}> <RadioForm style={{fontFamily:'font',}} radioStyle={{paddingRight: 20}} radio_props={this.state.radioList_cancellation} initial={this.state.radioIndex_cancellation} formHorizontal={true} labelHorizontal={false} buttonColor={strings.color_app} selectedButtonColor={this.state.color} animation={true} onPress={(value,index) => {this.setRadio_cancellation(value,index)}} /> </View></View>

and my import is:

import RadioForm from 'react-native-simple-radio-button';

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

3 participants