Skip to content

Commit

Permalink
Fixup error message
Browse files Browse the repository at this point in the history
  • Loading branch information
metal3d committed Oct 30, 2023
1 parent b01b4a2 commit a506a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/responsive.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func Responsive(object fyne.CanvasObject, breakpointRatio ...float32) fyne.Canva
if len(breakpointRatio) > 4 {
fyne.LogError(
"Too many arguments in Responsive()",
fmt.Errorf("The function can take at most 4 arguments, you provided %d", len(breakpointRatio)),
fmt.Errorf("the function can take at most 4 arguments, you provided %d", len(breakpointRatio)),
)
}
ro := &responsiveWidget{render: object, responsiveConfig: newResponsiveConf(breakpointRatio...)}
Expand Down

0 comments on commit a506a30

Please sign in to comment.