Fix mini map for HiDPI settings
e.g. compare kwrite with and without this patch after setting
export QT_SCALE_FACTOR=2
dhaumann |
Kate |
Fix mini map for HiDPI settings
e.g. compare kwrite with and without this patch after setting
export QT_SCALE_FACTOR=2
Run without
export QT_SCALE_FACTOR=2
and run with
export QT_SCALE_FACTOR=2
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
In general ok - but sure whether we need qCeil() to round sizes up, but if it looks ok, it's probably fine to commit.
src/view/kateviewhelpers.cpp | ||
---|---|---|
479 | Do we maybe need a qCeil here? |
src/view/kateviewhelpers.cpp | ||
---|---|---|
479 | I think Qt internally doesn't round up either. |