changes text input parameters for temperature note

This commit is contained in:
tina
2018-08-31 17:05:55 +02:00
parent 3bd5770c33
commit ed5d7e544b
2 changed files with 6 additions and 5 deletions
+5 -4
View File
@@ -129,13 +129,14 @@ export default class Temp extends Component {
onCancel={() => this.setState({ isTimePickerVisible: false })} onCancel={() => this.setState({ isTimePickerVisible: false })}
/> />
<View style={styles.symptomViewRowInline}> <View style={styles.symptomViewRowInline}>
<Text style={styles.symptomDayView}>Note (anomaly)</Text> <Text style={styles.symptomDayView}>Note</Text>
</View>
<View>
<TextInput <TextInput
style={styles.temperatureTextInput} style={styles.temperatureTextInput}
multiline={false} multiline={true}
maxLength={30}
autoFocus={this.state.focusTextArea} autoFocus={this.state.focusTextArea}
placeholder="-" placeholder="enter"
value={this.state.note} value={this.state.note}
onChangeText={(val) => { onChangeText={(val) => {
this.setState({ note: val }) this.setState({ note: val })
+1 -1
View File
@@ -133,7 +133,7 @@ export default StyleSheet.create({
temperatureTextInput: { temperatureTextInput: {
fontSize: 20, fontSize: 20,
color: 'black', color: 'black',
textAlign: 'right' textAlign: 'center'
}, },
temperatureTextInputSuggestion: { temperatureTextInputSuggestion: {
color: '#939393' color: '#939393'