golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.
https://github.com/vurtun/nuklear
MIT License
1.57k stars 98 forks source link

DPI scaling (on linux but possibily OSX/Windows as well) #25

Open OneOfOne opened 6 years ago

OneOfOne commented 6 years ago

I have a 4k monitor and the demo is absolutely unusable since it doesn't scale with X's DPI.

Here's how it looks for me maximized:

nuklear-demo

kernle32dll commented 6 years ago

This is not an issue of the bindings, but the library itself. See https://github.com/vurtun/nuklear/issues/123 for insight.

xlab commented 6 years ago

@Kernle32DLL @OneOfOne I think this issue is about examples in this bindings project, as it uses pixels rather than points. So I'm not closing as I would like to convert them into points one day.