- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.4k
 
Closed
Description
I want to customize the Tabs width, but not the width of the content of each tab.
I want the width of the Tabs header to not affect the width of the content inside each Tab.
This is my code. Currently I'm adding a style to Tabs
<Tabs
	style={{
		width: PixelRatio.getPixelSizeForLayoutSize(101),
	}}
	initialPage={0}
	tabBarUnderlineStyle={ styles.tabBarUnderlineStyle }
	>
        <Tab
	        heading="Phone"
	        tabStyle={ styles.tabStyle }
	        activeTabStyle={ styles.tabStyle }
	        textStyle={ styles.tabBarText }
	        activeTextStyle={ styles.tabBarText }
	        >
	        <Content>
		       
	        </Content>
	</Tab>
	<Tab
		heading="Email"
		tabStyle={ styles.tabStyle }
		activeTabStyle={ styles.tabStyle }
		textStyle={ styles.tabBarText }
		activeTextStyle={ styles.tabBarText }
		>
	        {/* <Tab2 /> */}
	</Tab>
</Tabs>
Metadata
Metadata
Assignees
Labels
No labels
