fyne开发入门教程【第一讲】

fyne是golang跨平台开发框架支持linux,mac,window,andriod,ios

无依赖。

对话框
https://developer.fyne.io/api/v2.1/dialog/dialog.html

设计器
https://github.com/fyne-io/defyne

参考例子
https://github.com/jiftle/fyne_alogrithm-tool
https://gitee.com/yctxkj/xuptool

常见问题

windows下启动编译后的程序报错"Cause: APIUnavailable: WGL: The driver does not appear to support OpenGL"

使用VBox虚拟机6.1版本,设置如下可解决
Settings -> Display -> Screen
Graphics controller: VBoxSVGA
Acceleration: Enable 3D acceleration

关联issue https://github.com/fyne-io/fyne/issues/410

中文乱码问题

-fyne 支持中文字体永久解决方案

posted @ 2022-03-25 23:46  jiftle  阅读(2214)  评论(0编辑  收藏  举报