Skip to content

Commit

Permalink
fix(layouts): properly fill buttons with image decoration
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjoehnk committed Oct 24, 2023
1 parent e98f40a commit 96da54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ui/lib/widgets/inputs/button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _ButtonInputState extends State<ButtonInput> {
child: Stack(
children: [
if (widget.image != null)
Image(image: widget.image!, fit: BoxFit.cover, width: 75, height: 75),
Positioned.fill(child: Image(image: widget.image!, fit: BoxFit.cover)),
Container(
margin: const EdgeInsets.all(4),
decoration: ShapeDecoration(
Expand Down

0 comments on commit 96da54c

Please sign in to comment.