WUpdate - only partially corrected for HiDPI - continued...

The WhatsNewDialog still has problems with different screen sizes. Some of my customers have reported that the OK / Cancel buttons can completely disappear off the bottom of the form and the RTF/Memo can be wider than the form depending on their screen resolution / scaling. I found that the following code after the buttons have been created and positioned and just before the ShowModal (in TWebUpdate.WhatsNewDialog) helps:

  form.ClientWidth := ctrlwidth + 20;
  form.ClientHeight := ctrlheight + ctrltop + round(Cancel.Height * 1.25) + 20;

It's not perfect, the button height changes depending in the screen resolution so the space below the button varies, but it does seem to work much better than the current code.



We will recheck