nameplates are very small on high resolution monitors
blacha opened this issue ยท 2 comments
Using Kiwiplates on high resolution monitors, the nameplates are very very small.
I worked around the issue by doubling the pixelScale
here https://github.com/michaelnpsp/KiwiPlates/blob/main/core.lua#L1094
I am not sure what the best fix would be, possibly if the resolution is >= 3180x2140 then double the pixelScale
?
ToxUI has similar logic but uses a hard coded list of resolutions, which doesn't work for me as my resolution is non standard :(
local doubleScaleResolutions = {
[2054] = true,
[2160] = true,
[2880] = true,
}
function F.PixelPerfect()
local perfectScale = 768 / E.physicalHeight
if doubleScaleResolutions[E.physicalHeight] then perfectScale = perfectScale * 2 end
return perfectScale
end
I can add a slider in general options to change the scale.
Another posibility: What about simply going to the skins tab and increase the font sizes and the width and height of the health bar, cast bar, etc ?