Browse Source

#WOA-2434|Resolved|Make input values in the link dialog visible

Yevhen Pavliuk 8 years ago
parent
commit
207867bf5a
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      src/RichTextEditor.js

+ 6
- 2
src/RichTextEditor.js View File

170
               <Text style={styles.inputTitle}>Title</Text>
170
               <Text style={styles.inputTitle}>Title</Text>
171
               <View style={styles.inputWrapper}>
171
               <View style={styles.inputWrapper}>
172
                 <TextInput
172
                 <TextInput
173
-                    style={{height: 20}}
173
+                    style={styles.input}
174
                     onChangeText={(text) => this.setState({linkTitle: text})}
174
                     onChangeText={(text) => this.setState({linkTitle: text})}
175
                     value={this.state.linkTitle}
175
                     value={this.state.linkTitle}
176
                 />
176
                 />
178
               <Text style={[styles.inputTitle ,{marginTop: 10}]}>URL</Text>
178
               <Text style={[styles.inputTitle ,{marginTop: 10}]}>URL</Text>
179
               <View style={styles.inputWrapper}>
179
               <View style={styles.inputWrapper}>
180
                 <TextInput
180
                 <TextInput
181
-                    style={{height: 20}}
181
+                    style={styles.input}
182
                     onChangeText={(text) => this.setState({linkUrl: text})}
182
                     onChangeText={(text) => this.setState({linkUrl: text})}
183
                     value={this.state.linkUrl}
183
                     value={this.state.linkUrl}
184
                     keyboardType="url"
184
                     keyboardType="url"
563
   inputTitle: {
563
   inputTitle: {
564
     color: '#4a4a4a'
564
     color: '#4a4a4a'
565
   },
565
   },
566
+  input: {
567
+    height: PlatfomIOS ? 20 : 40,
568
+    paddingTop: 0
569
+  },
566
   lineSeparator: {
570
   lineSeparator: {
567
     height: 1 / PixelRatio.get(),
571
     height: 1 / PixelRatio.get(),
568
     backgroundColor: '#d5d5d5',
572
     backgroundColor: '#d5d5d5',