From 040a1a228a479d583c6f2aac07b726b7951f65d0 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 30 Mar 2020 12:27:09 +0200 Subject: [PATCH] NoteTile: Make it prettier Decrease the font size for the header and reduce some spacing. It's finally starting to look somewhat okay. --- lib/folder_views/note_tile.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/folder_views/note_tile.dart b/lib/folder_views/note_tile.dart index d2399cb5..b380b58f 100644 --- a/lib/folder_views/note_tile.dart +++ b/lib/folder_views/note_tile.dart @@ -41,14 +41,15 @@ class NoteTile extends StatelessWidget { .copyWith(fontSize: textTheme.title.fontSize * 0.80), ), if (note.title != null && note.title.isNotEmpty) - const SizedBox(height: 12.0), + const SizedBox(height: 8.0), Flexible( flex: 1, child: Text( body, maxLines: 30, overflow: TextOverflow.ellipsis, - style: textTheme.subhead, + style: textTheme.subhead + .copyWith(fontSize: textTheme.subhead.fontSize * 0.90), ), ), ],