Game2Text-Lightning icon indicating copy to clipboard operation
Game2Text-Lightning copied to clipboard

DPI awareness

Open sleepyspider1 opened this issue 3 years ago • 1 comments

Popup is tiny as hell on retina display on mac book pro and you can't read it.

sleepyspider1 avatar Jul 12 '22 06:07 sleepyspider1

It seems like the only way to reliably enable DPI awareness for the webengine is by

QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)

but that applies to the whole application and messes up with the current way of window and text positioning. Detection boxes and text boxes and possible cursor position detection are all affected.

mathewthe2 avatar Jul 13 '22 11:07 mathewthe2