On Friday, 12 April 2019 at 08:39:52 UTC, Joel wrote:
I got a new computer (another MacBook Pro, but this one has retina display), now I don't think I can use my main programs (done in DlangUI), without eye strain and having my head close to the screen.

I noticed a lot of forked versions of the said library. Do any have a fix for the tiny print, if so, which one is good?

Thanks in advance.

It should detect DPI for you, and internally do the scaling. Though I don't know if it works at all.

In case it is not yet implemented try this function[1](overrideScreenDPI from dlangui.core.types) before creating your widgets in UI main function, at the very last resort you can just change the values in that file as well and rebuild (that's what I did for my crappy projects and it was working on Windows).

[1]https://github.com/buggins/dlangui/blob/d942853bcd458f563ee3c855332ab58c1f1e5faa/src/dlangui/core/types.d#L317

Reply via email to