package client import ( "fmt" "fyne.io/fyne/v2" ) func PrintSize(c fyne.Canvas) { if c == nil { return } fmt.Println(c.Size()) }