wxtrac
wxtrac
#### 2020-01-14 21:06:58: @MaartenBent changed status from *new* to *confirmed* #### 2020-01-14 21:06:58: @MaartenBent commented Sizer and spacer DPI scaling was added in 918e102533f2a5e437beabec41da851b2d0f3cce (after 3.1.3), see #18551. The described...
#### 2020-01-15 12:24:10: @vadz commented ___ Oops, I've completely forgotten that this was already done, thanks for correcting me, Maarten! And thanks for looking at this, of course.
#### 2020-02-04 06:26:13: dwhittaker uploaded file [`dw_dpifix.patch`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/3da/3dab8adb39373a17249ab48cb447b412bd40d4d2/7c1bdd0d06d81aa3fb551efe3ad4b1c558f0f292.patch) (2.9 KiB) Recursively update child sizers when DPI changes in MSW
#### 2020-02-04 06:43:04: dwhittaker commented ___ After some more testing it seems like the head DPI adjustment code was only scaling the items in the main sizer of a window,...
#### 2020-02-04 07:14:02: dwhittaker uploaded file [`dpichangetest.cpp`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/3da/3dab8adb39373a17249ab48cb447b412bd40d4d2/fc6eec3e6d6e7bddba884f40a234d2c8877cc563.cpp) (3.8 KiB) Quick program for testing DPI change handling. Child sizer issue shows when moving from 144dpi to 96dpi. Also displays possible text...
#### 2020-02-04 17:58:26: @vadz commented ___ I think the idea was that the other sizers will be updated when their windows get `WM_DPICHANGED`, but this doesn't take into account the...
#### 2020-02-04 23:30:26: @MaartenBent commented ___ The patch Looks good. But no need for `if ( GetSizer() )` if the new function also has `if ( !sizer )`. > As...
#### 2020-02-04 23:30:46: @MaartenBent uploaded file [`lowtohigh.png`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/3da/3dab8adb39373a17249ab48cb447b412bd40d4d2/940e17cd5ada6a0d4223897a97f22fa105fdc308.png) (19.2 KiB) 
#### 2020-02-04 23:30:57: @MaartenBent uploaded file [`hightolow.png`](https://github.com/wxWidgets/trac-attachments/tree/main/ticket/3da/3dab8adb39373a17249ab48cb447b412bd40d4d2/b9048c448341d8eccfd7e67b59be297586eb1140.png) (12.0 KiB) 
#### 2020-02-04 23:45:52: @vadz commented ___ Would it be a problem to actually change the DPI of the window to the one provided by `WM_GETDPISCALEDSIZE`? I.e. is it possible that...