build/windows: Do not display strong bezel so better match Vista-style

Note: I reinforce that, despite the name, this doesn't look like Vista.

Following de556c0734

Microsoft use of bezel in Win32 and UWP/WinUI3 apps is inconsistent:
sometimes the bezel is there, others not. However, when displayed
the bezel never is that dark. So let's at least hide it, just how
we do in the Devel warning and Inno do in most dialogs.
This commit is contained in:
Bruno 2024-12-16 13:09:17 -03:00
parent 8a0c294a32
commit b8ac9da4db
No known key found for this signature in database

View file

@ -807,6 +807,8 @@ end;
//2. LICENSE
procedure InfoBeforeLikeLicense();
begin
WizardForm.Bevel.Visible := False;
WizardForm.InfoBeforeClickLabel.Visible := False;
WizardForm.InfoBeforeMemo.Height := WizardForm.InfoBeforeMemo.Height + WizardForm.InfoBeforeMemo.Top - WizardForm.InfoBeforeClickLabel.Top;
WizardForm.InfoBeforeMemo.Top := WizardForm.InfoBeforeClickLabel.Top;