Browse Source

Always show a scrollbar

Vishnu Mohandas 4 years ago
parent
commit
7cfe82e347
1 changed files with 10 additions and 2 deletions
  1. 10 2
      lib/ui/settings_page.dart

+ 10 - 2
lib/ui/settings_page.dart

@@ -179,8 +179,16 @@ class _BackedUpFoldersWidgetState extends State<BackedUpFoldersWidget> {
               Text(folder)
             ]));
           }
-          return SingleChildScrollView(
-            child: Column(children: foldersWidget),
+          final scrollController = ScrollController();
+          return Container(
+            child: Scrollbar(
+              isAlwaysShown: true,
+              controller: scrollController,
+              child: SingleChildScrollView(
+                child: Column(children: foldersWidget),
+                controller: scrollController,
+              ),
+            ),
           );
         }
         return loadWidget;