I have an app running on iOS and android, I recently switched to haxe 4 and from haxeui-core 1.0.1->1.1.3 and from haxeui-openfl 1.0.0->1.1.3. I’m testing on an iPad Air 2, resolution 1536 x 2048, dpi 264.
On android, everything is fine. On iOS I have size/scale issues.
Before the switch I was able to fix this by setting the autoscaledpithreshold to 60. Now this is no longer allowed. And after I hacked it back in the issue was no longer fixed. So I removed the hack again.
The issue is that the Toolkit is scaled by a factor 2, which looks ok for the text, but I can only see the topleft corner of the screen. The rest falls of, probably due to the scale. The Toolkit Screen size is 1536 x 2048.
When I turn off autoscale and set scale to 1, the screen is looks normal but the text and components are very small.
I thought I’d fix this by setting the toolkit screen size to stage size/toolkit.scale. But I’m not allowed to set the Screen.instance.width or height. Changing the Stage.width, height or scale does nothing it seems.
Is there a quick fix/bypass?