Skip to content

Commit 88feca7

Browse files
authored
Merge pull request #557 from TaYaKi71751/dev-fix-categories-overflow
Fix f_cats scrollable
2 parents 50c1488 + 8a84848 commit 88feca7

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

violet/lib/pages/settings/settings_page.dart

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -872,27 +872,29 @@ class _SettingsPageState extends State<SettingsPage>
872872
actions: [okButton, cancelButton],
873873
title: const Text('E-Hentai Categories'),
874874
contentPadding: const EdgeInsets.fromLTRB(12, 8, 12, 8),
875-
content: Column(
876-
mainAxisSize: MainAxisSize.min,
877-
children: <Widget>[
878-
const Text('f_cats: '),
879-
...[
880-
TextField(
881-
controller: catsController,
882-
readOnly: true,
883-
),
884-
doujinshiButton,
885-
mangaButton,
886-
artistcgButton,
887-
gamecgButton,
888-
westernButton,
889-
nonhButton,
890-
imagesetButton,
891-
cosplayButton,
892-
asianpornButton,
893-
miscButton,
894-
].map((e) => Row(children: [Expanded(child: e)])),
895-
],
875+
content: SingleChildScrollView(
876+
child: Column(
877+
mainAxisSize: MainAxisSize.min,
878+
children: <Widget>[
879+
const Text('f_cats: '),
880+
...[
881+
TextField(
882+
controller: catsController,
883+
readOnly: true,
884+
),
885+
doujinshiButton,
886+
mangaButton,
887+
artistcgButton,
888+
gamecgButton,
889+
westernButton,
890+
nonhButton,
891+
imagesetButton,
892+
cosplayButton,
893+
asianpornButton,
894+
miscButton,
895+
].map((e) => Row(children: [Expanded(child: e)])),
896+
],
897+
),
896898
),
897899
),
898900
);

0 commit comments

Comments
 (0)