From 5e6a17f86cb24596e92fbb8f4f77115323b941fb Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Sat, 27 Jul 2024 00:06:18 +0800 Subject: [PATCH] change padding --- ui/lib/settings.dart | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/ui/lib/settings.dart b/ui/lib/settings.dart index 853fc70..8aa05de 100644 --- a/ui/lib/settings.dart +++ b/ui/lib/settings.dart @@ -247,39 +247,34 @@ class _SystemSettingsPageState extends ConsumerState { children: [ ExpansionTile( expandedAlignment: Alignment.centerLeft, - tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0), + childrenPadding: const EdgeInsets.fromLTRB(20, 0, 20, 0), initiallyExpanded: true, title: const Text("常规设置"), children: [tmdbSetting], ), ExpansionTile( expandedAlignment: Alignment.centerLeft, - tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0), + childrenPadding: const EdgeInsets.fromLTRB(20, 0, 20, 0), initiallyExpanded: false, title: const Text("索引器设置"), children: [indexerSetting], ), ExpansionTile( expandedAlignment: Alignment.centerLeft, - tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0), + childrenPadding: const EdgeInsets.fromLTRB(20, 0, 20, 0), initiallyExpanded: false, title: const Text("下载器设置"), children: [downloadSetting], ), ExpansionTile( expandedAlignment: Alignment.centerLeft, - tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0), + childrenPadding: const EdgeInsets.fromLTRB(20, 0, 50, 0), initiallyExpanded: false, title: const Text("存储设置"), children: [storageSetting], ), ExpansionTile( - tilePadding: const EdgeInsets.fromLTRB(10, 0, 10, 0), - childrenPadding: const EdgeInsets.fromLTRB(50, 0, 50, 0), + childrenPadding: const EdgeInsets.fromLTRB(20, 0, 20, 0), initiallyExpanded: false, title: const Text("认证设置"), children: [authSetting],