Skip to content

Commit

Permalink
Merge pull request #370 from canonical/feat/reducing-menubuilder-width
Browse files Browse the repository at this point in the history
fix: The MenuButtonBuilder should scale depending on his childrens
  • Loading branch information
spydon authored Dec 20, 2023
2 parents 867543d + 0382f10 commit 2a6bb48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ubuntu_widgets/lib/src/menu_button_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ class _MenuButtonBuilderState<T> extends State<MenuButtonBuilder<T>> {
}
},
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
DefaultTextStyle(
Expand Down

0 comments on commit 2a6bb48

Please sign in to comment.