{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4946","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4946/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4946/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4946/events","html_url":"https://github.com/react-navigation/react-navigation/issues/4946","id":356660495,"node_id":"MDU6SXNzdWUzNTY2NjA0OTU=","number":4946,"title":"Set header title vertically aligned","user":{"login":"panda0603","id":34116285,"node_id":"MDQ6VXNlcjM0MTE2Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/34116285?v=4","gravatar_id":"","url":"https://api.github.com/users/panda0603","html_url":"https://github.com/panda0603","followers_url":"https://api.github.com/users/panda0603/followers","following_url":"https://api.github.com/users/panda0603/following{/other_user}","gists_url":"https://api.github.com/users/panda0603/gists{/gist_id}","starred_url":"https://api.github.com/users/panda0603/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panda0603/subscriptions","organizations_url":"https://api.github.com/users/panda0603/orgs","repos_url":"https://api.github.com/users/panda0603/repos","events_url":"https://api.github.com/users/panda0603/events{/privacy}","received_events_url":"https://api.github.com/users/panda0603/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-04T05:44:38Z","updated_at":"2018-09-04T07:27:08Z","closed_at":null,"author_association":"NONE","body":"I'm trying to get my header title and header left component to be vertically aligned. I've got it horizontally aligned already, but it does not seem to get vertically aligned at all. I've tried alignItems, justifyContent already but no luck :( Any help? \r\n\r\n```\r\nconst AppNavigator = createStackNavigator(\r\n  {\r\n    Home: {\r\n      screen: City,\r\n      navigationOptions: () => ({\r\n        title: \"select city\",\r\n        header: null\r\n      })\r\n    },\r\n    selectCity: {\r\n      screen: citySelect,\r\n\r\n      navigationOptions: ({ navigation }) => ({\r\n        title: \"Info\",\r\n        headerStyle: {\r\n          height: 30,\r\n          backgroundColor: \"#FEF253\",\r\n        },\r\n        headerTitleStyle: {\r\n          textAlign: 'center',\r\n          alignSelf: 'center',\r\n          justifyContent: \"center\",\r\n          flex: 1\r\n        },\r\n        headerLeft: (\r\n          <TouchableOpacity onPress={() => { navigation.dispatch(DrawerActions.toggleDrawer()) }}>\r\n            <Feather color=\"black\" size={30} name={\"menu\"} />\r\n          </TouchableOpacity>),\r\n        headerRight: (<View></View>)\r\n      })\r\n    }\r\n  },\r\n  {\r\n    cardStyle: {\r\n      paddingTop: Expo.Constants.statusBarHeight\r\n    }\r\n  }\r\n);\r\n\r\nexport default AppNavigator;\r\n```"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/418268202","html_url":"https://github.com/react-navigation/react-navigation/issues/4946#issuecomment-418268202","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/4946","id":418268202,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODI2ODIwMg==","user":{"login":"panda0603","id":34116285,"node_id":"MDQ6VXNlcjM0MTE2Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/34116285?v=4","gravatar_id":"","url":"https://api.github.com/users/panda0603","html_url":"https://github.com/panda0603","followers_url":"https://api.github.com/users/panda0603/followers","following_url":"https://api.github.com/users/panda0603/following{/other_user}","gists_url":"https://api.github.com/users/panda0603/gists{/gist_id}","starred_url":"https://api.github.com/users/panda0603/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panda0603/subscriptions","organizations_url":"https://api.github.com/users/panda0603/orgs","repos_url":"https://api.github.com/users/panda0603/repos","events_url":"https://api.github.com/users/panda0603/events{/privacy}","received_events_url":"https://api.github.com/users/panda0603/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T07:27:08Z","updated_at":"2018-09-04T07:27:08Z","author_association":"NONE","body":"![12](https://user-images.githubusercontent.com/34116285/45016331-402ef100-b05f-11e8-9448-cca252f26a93.jpg)\r\n@daviscabral Thanks for the reply. This is the issue. The gray bit above is the status bar"}}
{"actor":{"display_login":"panda0603"}}