erudnick-cohen / Pokemon-Crystal-Item-Randomizer

An item randomizer for pokemon crystal
29 stars 13 forks source link

Add QT High DPI Support with non-integer scales #37

Open EnAppelsin opened 1 year ago

EnAppelsin commented 1 year ago

This is a simple fix to change QT's High DPI mode to better handle non-integer DPI scales (I have 125% as my DPI scale) It uses new to QT 5.14 features to not round the scale up to the nearest integer, which means the text to button scales disagree

Before: python_2022-10-16_16-44-38 After: python_2022-10-16_16-44-46