Style radio button row
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
+6
-1
@@ -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({
|
|||||||
},
|
},
|
||||||
symptomEditButton: {
|
symptomEditButton: {
|
||||||
width: 130
|
width: 130
|
||||||
|
},
|
||||||
|
radioButtonRow: {
|
||||||
|
marginTop: 15,
|
||||||
|
marginLeft: 'auto',
|
||||||
|
marginRight: 'auto'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user