Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to leftAlign Left Image button on NavBar #2471

Closed
serialbandicoot opened this issue Oct 7, 2017 · 3 comments
Closed

how to leftAlign Left Image button on NavBar #2471

serialbandicoot opened this issue Oct 7, 2017 · 3 comments

Comments

@serialbandicoot
Copy link

Version

Tell us which versions you are using:

  • react-native-router-flux v^4.0.0-beta.21
  • react-native v0.48.4

Issue

I've added an image as the leftButton, however I can't seem to align left of the screen. Is there anyway to re-position the search image?

Many thanks...

screen shot 2017-10-07 at 11 33 47

@mcabs3
Copy link
Collaborator

mcabs3 commented Oct 9, 2017

Can you show us a code snippet?

@serialbandicoot
Copy link
Author

Just the following inside the Scene:

onLeft={ () => Actions.search() } leftButtonImage={require("./images/img.png")}

@aksonov
Copy link
Owner

aksonov commented Oct 17, 2017

Looks like you have more navbar global stylings defined. Please check Example project - it renders left button correctly.

@aksonov aksonov closed this as completed Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants