mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: rank tab
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -28,8 +28,8 @@ class _RankPageState extends State<RankPage>
|
||||
super.build(context);
|
||||
return Row(
|
||||
children: [
|
||||
Expanded(
|
||||
flex: 18,
|
||||
SizedBox(
|
||||
width: 64,
|
||||
child: SingleChildScrollView(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: MediaQuery.paddingOf(context).bottom + 80,
|
||||
@@ -63,7 +63,7 @@ class _RankPageState extends State<RankPage>
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
padding:
|
||||
const EdgeInsets.symmetric(vertical: 10),
|
||||
const EdgeInsets.symmetric(vertical: 7),
|
||||
child: Text(
|
||||
_rankController.tabs[index]['label'],
|
||||
style: TextStyle(
|
||||
@@ -91,7 +91,6 @@ class _RankPageState extends State<RankPage>
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
flex: 82,
|
||||
child: TabBarView(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
controller: _rankController.tabController,
|
||||
|
||||
@@ -171,7 +171,7 @@ List<SettingsModel> get styleSettings => [
|
||||
leading: const Icon(Icons.calendar_view_week_outlined),
|
||||
title: '小卡列表宽度(dp)限制',
|
||||
getSubtitle: () =>
|
||||
'当前:${GStorage.mediumCardWidth.toInt()}dp,屏幕宽度:${MediaQuery.of(Get.context!).size.width.toPrecision(2)}dp。宽度越小列数越多。',
|
||||
'当前:${GStorage.smallCardWidth.toInt()}dp,屏幕宽度:${MediaQuery.of(Get.context!).size.width.toPrecision(2)}dp。宽度越小列数越多。',
|
||||
),
|
||||
SettingsModel(
|
||||
settingsType: SettingsType.normal,
|
||||
|
||||
Reference in New Issue
Block a user