Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b361895

Browse files
Fix: NoteWidgetDetails page has incorrect layout (#33)
* Fix: incorrect keys for the localization dictionary * Fix: layout of note details different from note creation page
1 parent 2bab7b2 commit b361895

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

‎src/NoteWidgetDetailsPanel.tsx‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ class NoteWidgetDetailsPanel extends React.Component<Props, State> {
136136

137137
deleteButtonPressed = () => {
138138
Alert.alert(
139-
dictionary.getTextByKey('alert.noteDeletionConfirmation'),
140-
dictionary.getTextByKey('alert.noteDeletionConfirmationExplanation'),
139+
dictionary.getTextByKey('alert.noteDeleteConfirmation'),
140+
dictionary.getTextByKey('alert.noteDeletionConfirmExplanation'),
141141
[
142142
{
143143
text: dictionary.getTextByKey('alert.cancel'),
@@ -210,23 +210,23 @@ const styles = StyleSheet.create({
210210
flex: 1,
211211
flexDirection: 'column',
212212
alignItems: 'center',
213-
backgroundColor: Colors.transparent,
214213
},
215214
titleBox: {
216215
borderLeftWidth: 0,
217216
borderRightWidth: 0,
218217
borderBottomWidth: 1,
219218
borderTopWidth: 0,
220-
marginTop: 40,
221219
width: '90%',
220+
height: 'auto',
222221
borderColor: Colors.noteTextPanelBorder,
223222
fontWeight: 'bold',
223+
marginTop: 30,
224224
},
225225
noteMessageBox: {
226226
borderWidth: 0.2,
227227
margin: 10,
228228
width: '90%',
229-
height: '85%',
229+
flexGrow: 1,
230230
borderColor: Colors.noteTextPanelBorder,
231231
alignContent: 'center',
232232
textAlignVertical: 'center',
@@ -237,6 +237,7 @@ const styles = StyleSheet.create({
237237
justifyContent: 'space-around',
238238
width: '60%',
239239
maxHeight: 35,
240+
margin: 10,
240241
},
241242
});
242243

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /