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

tabBarUnderlineStyle not working ? #420

Closed
cjmling opened this issue Sep 8, 2016 · 5 comments
Closed

tabBarUnderlineStyle not working ? #420

cjmling opened this issue Sep 8, 2016 · 5 comments

Comments

@cjmling
Copy link

cjmling commented Sep 8, 2016

I have this ( I tried some random style too :S )

<ScrollableTabView
                      style={{marginTop: 50}}
                      tabBarUnderlineStyle={{backgroundColor:'red' , borderColor : 'red' , borderBottomWidth : 0.1 , borderBottomColor : 'red'}}
                      tabBarActiveTextColor="#FFF"
                      tabBarInactiveTextColor="#FFF"
                      tabBarTextStyle={{fontWeight : '200'}}

And i still seeing this .

  1. How I can change that blue border ?
  2. And anyway I could add border top , right , left to each tab menu ?

screen shot 2559-09-08 at 6 09 51 pm

Thanks

@cjmling
Copy link
Author

cjmling commented Sep 8, 2016

Ok it seems like the version 0.5.3 which I'm using is too old and it didn't support.

@cjmling cjmling closed this as completed Sep 8, 2016
@johhansantana
Copy link

Hey @cjmling I'm using "react-native-scrollable-tab-view": "^0.7.0" but I can't seem to use <ScrollableTabView tabBarUnderlineStyle={{borderBottomColor: 'aqua'}}> still shows default color.

@ArcherScript
Copy link

Some people may still have this issue if they are using version ^0.7.3. Updating to ^0.7.4 fixed it for me.

@bunnapanhchakrith
Copy link

<ScrollableTabBar style={{borderBottomColor: 'white'}}/>

@toanluongnhu1709
Copy link

toanluongnhu1709 commented Apr 30, 2019

It works
<ScrollableTabView tabBarUnderlineStyle={ {backgroundColor:'red', height:3} } />

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

5 participants