Fix my items profile card tab overflow

This commit is contained in:
zhx 2026-05-16 02:05:57 +08:00
parent 1542f82dd2
commit 57ce270b4f

View File

@ -92,39 +92,37 @@ class _MyItemsPageState extends State<MyItemsPage>
top: false,
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
TabBar(
tabAlignment: TabAlignment.center,
isScrollable: true,
labelColor: Colors.white,
unselectedLabelStyle: SCGlobalConfig.businessLogicStrategy
.getStorePageTabUnselectedLabelStyle()
.copyWith(
fontSize:
SCGlobalConfig.businessLogicStrategy
.getStorePageTabUnselectedLabelStyle()
.fontSize
?.sp,
),
// indicatorPadding: EdgeInsets.symmetric(
// vertical: 5.w,
// horizontal: 15.w,
// ),
indicator: SCFixedWidthTabIndicator(
width: 15.w,
color:
SCGlobalConfig.businessLogicStrategy
.getStorePageTabIndicatorColor(),
),
dividerColor:
SizedBox(
width: double.infinity,
child: TabBar(
tabAlignment: TabAlignment.center,
isScrollable: true,
labelColor: Colors.white,
unselectedLabelStyle: SCGlobalConfig.businessLogicStrategy
.getStorePageTabUnselectedLabelStyle()
.copyWith(
fontSize:
SCGlobalConfig.businessLogicStrategy
.getStorePageTabUnselectedLabelStyle()
.fontSize
?.sp,
),
// indicatorPadding: EdgeInsets.symmetric(
// vertical: 5.w,
// horizontal: 15.w,
// ),
indicator: SCFixedWidthTabIndicator(
width: 15.w,
color:
SCGlobalConfig.businessLogicStrategy
.getStorePageTabDividerColor(),
controller: _tabController,
tabs: _tabs,
.getStorePageTabIndicatorColor(),
),
],
dividerColor:
SCGlobalConfig.businessLogicStrategy
.getStorePageTabDividerColor(),
controller: _tabController,
tabs: _tabs,
),
),
SizedBox(height: 5.w),
Expanded(