问题标签 [gxui]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
scroll - 使用 GXUI 在 Go 中滚动窗口
我正在尝试使用 GXUI 在 Go 中的应用程序窗口中添加滚动条。
说我有这个代码:
当我运行它时,我得到这个窗口:
我怎样才能让窗口有一个滚动条,以便我可以查看所有行?
user-interface - Go GXUI - 如何设置文本框大小?
我目前正在尝试弄清楚如何设置 Go GXUI TextBox 大小。我试过了:
但它似乎没有工作 - 我得到了一个狭窄的矩形条。当我更改文本时,它会向下扩展,但不会向两侧扩展。
go - 在 Mac 上构建 google/gxui 示例错误
我从 github.com/google/gxui git clone 代码然后
cd 样本/hello_word
GOOS=windows 去构建
它说发生了错误
/d01/gopath/src/github.com/goxjs/gl/gl_opengl.go:10:2:/d01/gopath/src/github.com/go-gl/gl/v2.1/ 中没有可构建的 Go 源文件gl /d01/gopath/src/github.com/goxjs/glfw/desktop.go:10:2:/d01/gopath/src/github.com/go-gl/glfw/v3.2 中没有可构建的 Go 源文件/glfw
我试着
去获取-u github.com/go-gl/gl/v2.1/gl 去获取-u github.com/go-gl/glfw/v3.2/glfw
没有发生错误
我尝试再次运行
GOOS=windows 去构建
问题没有解决