The HAXE-UI display is very small under a high-resolution 4K notebook, and it does not seem to be scaled to the system resolution. Will you consider supporting it in the future?
render: haxeui-heaps
The HAXE-UI display is very small under a high-resolution 4K notebook, and it does not seem to be scaled to the system resolution. Will you consider supporting it in the future?
render: haxeui-heaps
Certainly
I should autoscale by itself. Can you tell us:
Toolkit.autoScale
Toolkit.scaleX
Toolkit.scaleY
Toolkit.scale
Toolkit.autoScaleDPIThreshold
Screen.instance.dpi
Also, do you have simple, runnable test app? Im sure its probably going to be basic anyway, but generally it helps so i dont have to create and one and also it means we are talking about the exact same thing.
Cheers,
Ian
base example :haxelib run haxeui-core create heaps
src/Main.hx:17: Toolkit.autoScale true
Main.js:51241 src/Main.hx:18: Toolkit.scale 1
Main.js:51241 src/Main.hx:19: Toolkit.scaleX 1
Main.js:51241 src/Main.hx:20: Toolkit.scaleY 1
Main.js:51241 src/Main.hx:21: Toolkit.autoScaleDPIThreshold 120
Main.js:51241 src/Main.hx:22: Screen.instance.dpi 72
Right, heaps… that could be an issue. Im not sure haxeui-heaps supports auto scaling… it should though, so ill add it to the list.
However, another issue is that, even if haxeui-heaps did scale the scale that haxeui has calculated is “1”, i presume this is because the Screen.instance.dpi
is returning 72 (which the default value).
Do you happy to know how to get the dpi from heaps?