Skip to content

Commit 46e7082

Browse files
fix: renderoverflow issue in current commands box
* fixed overflowing * added a comma * comma
1 parent 5daea3c commit 46e7082

File tree

3 files changed

+24
-22
lines changed

3 files changed

+24
-22
lines changed

lib/screens/settings/components/current_command.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ class CurrentCommandContainer extends StatelessWidget {
6666
? MediaQuery.of(context).size.width - 270
6767
: MediaQuery.of(context).size.width - 56,
6868
height: Responsive.isDesktop(context)
69-
? MediaQuery.of(context).size.height / 25
69+
? MediaQuery.of(context).size.height / 20
7070
: MediaQuery.of(context).size.height /
71-
5, // remove drawer width
71+
20, // remove drawer width
7272
decoration: BoxDecoration(
7373
color: kBgLightColor,
7474
),

lib/screens/settings/components/custom_path_button.dart

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ class _CustomGetFilePathButtonState extends State<CustomGetFilePathButton> {
6363
child: Row(
6464
children: [
6565
Tooltip(
66-
message: 'Clear field',
67-
child: IconButton(
68-
padding: EdgeInsets.zero,
69-
onPressed: widget.clearField,
70-
icon: Icon(Icons.delete_outline),
71-
color: Colors.red,
72-
)),
66+
message: 'Clear field',
67+
child: IconButton(
68+
padding: EdgeInsets.zero,
69+
onPressed: widget.clearField,
70+
icon: Icon(Icons.delete_outline),
71+
color: Colors.red,
72+
),
73+
),
7374
SizedBox(
7475
width: 10,
7576
),

lib/screens/settings/output_settings.dart

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -592,20 +592,21 @@ class OutputSettingsScreen extends StatelessWidget {
592592
},
593593
),
594594
CustomDropDown(
595-
title: 'Roll up',
596-
subtitle:
597-
'If having 3 or 4 lines annoys, use this to have 1,2,3 lines in roll-up captions',
598-
value: state.settingsModel.rollUp,
599-
items: rollUp,
600-
onChanged: (String newValue) {
601-
context.read<SettingsBloc>().add(
602-
SettingsUpdatedEvent(
603-
state.settingsModel.copyWith(
604-
rollUp: newValue,
605-
),
595+
title: 'Roll up',
596+
subtitle:
597+
'If having 3 or 4 lines annoys, use this to have 1,2,3 lines in roll-up captions',
598+
value: state.settingsModel.rollUp,
599+
items: rollUp,
600+
onChanged: (String newValue) {
601+
context.read<SettingsBloc>().add(
602+
SettingsUpdatedEvent(
603+
state.settingsModel.copyWith(
604+
rollUp: newValue,
606605
),
607-
);
608-
}),
606+
),
607+
);
608+
},
609+
),
609610
CustomDropDown(
610611
title: 'Stream Type',
611612
subtitle:

0 commit comments

Comments
 (0)