Skip to content

Commit 9a01331

Browse files
authored
fix: renderoverflow issue in current commands box
1 parent 055ca54 commit 9a01331

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib/screens/settings/components/current_command.dart

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,19 @@ class CurrentCommandContainer extends StatelessWidget {
6464
child: Container(
6565
width: Responsive.isDesktop(context)
6666
? MediaQuery.of(context).size.width - 270
67-
: MediaQuery.of(context).size.width -
68-
56, // remove drawer width
67+
: MediaQuery.of(context).size.width - 56,
68+
height: Responsive.isDesktop(context)
69+
? MediaQuery.of(context).size.height / 25
70+
: MediaQuery.of(context).size.height /
71+
5, // remove drawer width
6972
decoration: BoxDecoration(
7073
color: kBgLightColor,
7174
),
7275
child: Padding(
73-
padding: const EdgeInsets.all(8.0),
76+
padding: const EdgeInsets.only(top: 10, left: 10),
7477
child: SelectableText(
7578
'ccextractor --gui_mode_reports ${paramsList.reduce((value, element) => value + ' ' + element)} +[input files]',
76-
maxLines: 2,
79+
// maxLines: 2,
7780
style: TextStyle(
7881
fontSize: 15,
7982
),

0 commit comments

Comments
 (0)