Skip to content
Snippets Groups Projects
Commit 86392080 authored by Julia Friesel's avatar Julia Friesel
Browse files

Style radio button row

parent eba58373
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ export default class Bleeding extends Component { ...@@ -34,7 +34,7 @@ export default class Bleeding extends Component {
return ( return (
<View style={styles.symptomEditView}> <View style={styles.symptomEditView}>
<Text style={styles.symptomDayView}>Bleeding</Text> <Text style={styles.symptomDayView}>Bleeding</Text>
<View style={{marginTop: 15}}> <View style={styles.radioButtonRow}>
<RadioForm <RadioForm
radio_props={bleedingRadioProps} radio_props={bleedingRadioProps}
initial={this.state.currentValue} initial={this.state.currentValue}
......
...@@ -31,7 +31,7 @@ export default StyleSheet.create({ ...@@ -31,7 +31,7 @@ export default StyleSheet.create({
}, },
radioButton: { radioButton: {
fontSize: 18, fontSize: 18,
margin: 5, margin: 8,
textAlign: 'center', textAlign: 'center',
textAlignVertical: 'center' textAlignVertical: 'center'
}, },
...@@ -77,5 +77,10 @@ export default StyleSheet.create({ ...@@ -77,5 +77,10 @@ export default StyleSheet.create({
}, },
symptomEditButton: { symptomEditButton: {
width: 130 width: 130
},
radioButtonRow: {
marginTop: 15,
marginLeft: 'auto',
marginRight: 'auto'
} }
}) })
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment