Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove height limitation on WindowButton
  • Loading branch information
DanielQuick committed Dec 21, 2021
commit 9a139a7a7ee2f261ecaf04f2cd4448155c52d1f2
3 changes: 1 addition & 2 deletions bitsdojo_window/lib/src/widgets/window_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ class WindowButton extends StatelessWidget {
var button = (this.builder != null)
? this.builder!(buttonContext, icon)
: iconWithPadding;
return SizedBox(
width: buttonSize.width, height: buttonSize.height, child: button);
return SizedBox(width: buttonSize.width, child: button);
},
onPressed: () {
if (this.onPressed != null) this.onPressed!();
Expand Down