From e628a8277d39f96351f7e3c0940c9036122b9f4e Mon Sep 17 00:00:00 2001 From: jaulz Date: Sun, 21 Jun 2015 13:39:13 +0200 Subject: [PATCH] Allow title to take the rest width --- components/NavBarContent.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/NavBarContent.js b/components/NavBarContent.js index 243f251..5e78dcd 100644 --- a/components/NavBarContent.js +++ b/components/NavBarContent.js @@ -114,7 +114,7 @@ var NavBarContent = React.createClass({ } titleComponent = ( - + {titleContent} ); @@ -156,6 +156,9 @@ var styles = StyleSheet.create({ flex: 1, justifyContent: 'center', }, + title: { + flex: 100 + }, alignLeft: { alignItems: 'flex-start'