SoftwareCanvas
resize only works properly if it's the last step
#5548
Labels
bug
Something isn't working
Milestone
Checklist
Describe the bug
Following up on the suggestion from Discord to report this here... If i take the following code:
And save the result as an image, I get the expected result:
But if I move
myCanvas.Resize(fyne.Size{Width: width, Height: height})
directly aftermyCanvas := playground.NewSoftwareCanvas()
, the result will be wrong:How to reproduce
go run .
clock.png
has the wrong resolution, it should be 1024x758.myCanvas.Resize(fyne.Size{Width: width, Height: height})
undermyCanvas.SetContent(clockContainer)
.Screenshots
No response
Example code
Fyne version
v2.5.4
Go compiler version
1.24.0
Operating system and version
Arch Linux amd64
Additional Information
No response
The text was updated successfully, but these errors were encountered: