dolphinsmalltalk / Dolphin

Dolphin Smalltalk Core Image
MIT License
301 stars 58 forks source link

7.2 High DPI: Scintilla auto-completion list images are not scaling with DPI changes #1295

Closed blairmcg closed 1 month ago

blairmcg commented 3 months ago

When the DPI of a Scintilla view (e.g. code workspace) is changed, the auto-completion list images are not scaled to suit the new DPI, instead remaining at the originally calculated scale. This makes them either too large or too small. The font does scale.

Repro Steps

  1. Open a browser on the primary monitor.
  2. Do some code editing that brings up an auto-completion list
  3. Either move the browser to a secondary monitor at different DPI, or alter the scaling of the primary monitor in the Windows display settings
  4. Bring up the auto-completion list again

Expected The images associated with the items in the list are of the best icon size to match the text of the list at the new DPI.

Actual

image

In this case the browser was moved from 225% to 125%, so the images are too large relative t to the text