Skip to content

Commit

Permalink
Update lib/src/controls/form/color_picker/color_picker.dart
Browse files Browse the repository at this point in the history
fix(ColorPicker): set ComboBox.isExpanded to true for proper text and icon alignment

Co-authored-by: Bruno D'Luka <45696119+bdlukaa@users.noreply.github.com>
  • Loading branch information
diluculo and bdlukaa authored Dec 11, 2024
1 parent 7304312 commit 766de9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/controls/form/color_picker/color_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,7 @@ class _ColorInputs extends StatelessWidget {
items: colorModes.entries
.map((e) => ComboBoxItem(value: e.value, child: Text(e.key)))
.toList(),
isExpanded: true,
onChanged: (value) {
if (value != null) _colorModeNotifier.value = value;
},
Expand Down

0 comments on commit 766de9a

Please sign in to comment.