From e7cfc85b89bdd3eb119d3987e39d8380828cfbe3 Mon Sep 17 00:00:00 2001 From: Liplum Date: Tue, 24 Sep 2024 06:42:29 +0800 Subject: [PATCH] [timetable] pruned toolbar on wallpaper editor --- lib/timetable/p13n/page/background.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/timetable/p13n/page/background.dart b/lib/timetable/p13n/page/background.dart index 25059dff..daa4cb7f 100644 --- a/lib/timetable/p13n/page/background.dart +++ b/lib/timetable/p13n/page/background.dart @@ -239,7 +239,7 @@ class _TimetableBackgroundEditorState extends State w onPressed: chooseImage, icon: Icon(context.icons.create), label: i18n.choose.text(), - ), + ).center().expanded(flex: 3), IconButton.outlined( onPressed: hasImage ? () { @@ -249,7 +249,7 @@ class _TimetableBackgroundEditorState extends State w } : null, icon: Icon(hidden ? Icons.hide_image_outlined : Icons.image_outlined), - ), + ).center().expanded(flex: 1), OutlinedButton.icon( onPressed: hasImage ? () { @@ -261,7 +261,7 @@ class _TimetableBackgroundEditorState extends State w : null, icon: Icon(context.icons.delete), label: i18n.delete.text(), - ), + ).center().expanded(flex: 3), ].row(maa: MainAxisAlignment.spaceEvenly); }