CodeGlance icon indicating copy to clipboard operation
CodeGlance copied to clipboard

Very small preview on high dpi displays.

Open rogeralsing opened this issue 9 years ago • 9 comments

When using CodeGlance on a High DPI screen, the preview is very small. There is a setting for 1-4 pixels per row, but that is not enough on such screen. It would be nice with a high dpi mode setting, or just allow higher number for pixel lines. (the preview should be wider also on such display) smallpreview

rogeralsing avatar Aug 12 '16 20:08 rogeralsing

Seconded!

I don't see why the size setting is limited at all. It should just allow user to manually enter desired minimap font size.

knezmilos13 avatar Aug 19 '16 10:08 knezmilos13

Yes please, 4px max just doesn't work on a 4k display.

staaky avatar Nov 05 '16 21:11 staaky

I don't see why the size setting is limited at all. It should just allow user to manually enter desired minimap font size.

It's limited because codeglance isnt rendering fonts, the rules are hard coded, eg: https://github.com/Vektah/CodeGlance/blob/master/src/main/java/net/vektah/codeglance/render/Minimap.kt#L327-L346

I'm going to add an 8, but I think thats as high as I will go.

vektah avatar Mar 11 '17 12:03 vektah

Any chance to make it scale in width too ? on a high dpi screen, it gets very narrow

rogeralsing avatar Mar 11 '17 19:03 rogeralsing

Any changes here? I'm still only seeing 4 as max lines.

rogeralsing avatar Jul 30 '17 18:07 rogeralsing

I'd like to see this two, as the mini map is eligible even for general shape of the code at 4k. Any way we could help or test @vektah ?

ruffsl avatar Apr 08 '18 23:04 ruffsl

@vektah 'I'm going to add an 8, but I think thats as high as I will go.' I am patiently waiting for this...!

musicformellons avatar Aug 25 '18 07:08 musicformellons

Bump

entangledloops avatar Jul 06 '19 13:07 entangledloops

Bump

isamarin avatar Jul 02 '20 11:07 isamarin