1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

various changes

This commit is contained in:
Laurent Cozic
2017-07-12 23:32:08 +01:00
parent 74e112fef9
commit d92f1c7eba
9 changed files with 62 additions and 26 deletions

View File

@ -76,13 +76,13 @@ class ScreenHeaderComponent extends Component {
let title = 'title' in this.props && this.props.title !== null ? this.props.title : _(this.props.navState.routeName);
return (
<View style={{ flexDirection: 'row', padding: 10, backgroundColor: '#ffffff', alignItems: 'center' }} >
<View style={{ flexDirection: 'row', paddingLeft: 10, paddingTop: 10, paddingBottom: 10, paddingRight: 0, backgroundColor: '#ffffff', alignItems: 'center' }} >
<Button title="☰" onPress={() => this.sideMenuButton_press()} />
<Button disabled={!this.props.historyCanGoBack} title="<" onPress={() => this.backButton_press()}></Button>
<Text style={{ flex:1, marginLeft: 10 }} >{title}</Text>
<Menu onSelect={(value) => this.menu_select(value)}>
<MenuTrigger>
<Text style={{ fontSize: 20 }}> &#8942; </Text>
<Text style={{ fontSize: 25 }}> &#8942; </Text>
</MenuTrigger>
<MenuOptions>
{ menuOptionComponents }