React-native-tab-view: Whether the indicator width can be set to a shorter centered property?

Created on 14 Jul 2019  ·  11Comments  ·  Source: satya164/react-native-tab-view

image

bug

Most helpful comment

@BunHouth auto center

you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75

All 11 comments

It is now spread across the entire width

what ?No One can solve it?

Fuck !!!!

what ?No One can solve it?
Do you want to display like this?
Screen Shot 2019-07-24 at 2 59 15 PM

@BunHouth 是的

@BunHouth auto center

@BunHouth auto center

you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75

image

@yrjwcharm please kindly show me your code snippet.
The issue is you are trying to using Hooks methods inside class component.

Hi, I share an example of the indicator width wrap the content width.

Aug-08-2019 11-42-07

The example code you can get it from here

@BunHouth auto center

you can check here.
https://github.com/BunHouth/RNTabExample/blob/master/Home.js#L75

success

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ios-dev-newbie picture ios-dev-newbie  ·  3Comments

hyochan35 picture hyochan35  ·  3Comments

compojoom picture compojoom  ·  4Comments

t3chnoboy picture t3chnoboy  ·  3Comments

ahmedrowaihi picture ahmedrowaihi  ·  3Comments