dolphinsmalltalk / Dolphin

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

7.2 High DPI: Separator bar between method list and class/instance mode may draw as unfilled rectangle when moved to higher DPI #1293

Closed blairmcg closed 2 days ago

blairmcg commented 5 days ago

The CHB has a StaticRectangle used as a visual separator between the method list and class/instance mode radio buttons. This is 1 pel thick at design (96) dpi. When scaled to higher DPI, the rectangle opens up, drawing an unfilled rectangle.

To Reproduce

  1. Open a CHB on a primary monitor at 125%. Observe the thin bar between method list and mode buttons.
  2. Move to a secondary monitor at much higher magnification, 225% or above
  3. Observe that the separator bar has opened up

Actual

image

Expected

image

Discussion Probably just using the wrong static control style - SS_GRAYFRAME, rather than SS_GRAYRECT.

blairmcg commented 2 days ago

Fixed by 9696cad6be70229e8cca90afcd2f540f630cab4a