too many arguments in conversion to "fyne.io/fyne/v2".Size或者cannot use fyne.Size
用go fyne写程序
win.Resize(fyne.NewSize(600, 500))// 设置窗口大小
报错
too many arguments in conversion to "fyne.io/fyne/v2".Size
goland不显示错误VScode显示错误
goland运行报错
解决方法:
更改导入包的地址,记得要v2的那个