From d486500d8b76d28a92d4bb54f1684c4c7fffb057 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Sat, 24 Feb 2024 11:59:27 +0530 Subject: [PATCH] add scrollbar in logs viewer screen --- lib/ui/tools/debug/log_file_viewer.dart | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/ui/tools/debug/log_file_viewer.dart b/lib/ui/tools/debug/log_file_viewer.dart index 9efefaf7e..9e3e00789 100644 --- a/lib/ui/tools/debug/log_file_viewer.dart +++ b/lib/ui/tools/debug/log_file_viewer.dart @@ -42,14 +42,16 @@ class _LogFileViewerState extends State { } return Container( padding: const EdgeInsets.only(left: 12, top: 8, right: 12), - child: SingleChildScrollView( - child: Text( - _logs!, - style: const TextStyle( - fontFeatures: [ - FontFeature.tabularFigures(), - ], - height: 1.2, + child: Scrollbar( + child: SingleChildScrollView( + child: Text( + _logs!, + style: const TextStyle( + fontFeatures: [ + FontFeature.tabularFigures(), + ], + height: 1.2, + ), ), ), ),