Martijn Laan
|
2b4fcd2675
Cherry pick into is-6_7_0:
|
1 mese fa |
Martijn Laan
|
ae7e6a2211
64BB: Fix bunch of warnings (most introduced by TList.Count becoming 64-bit) by introducing inline vars/consts. Does not fix all of these warnings and even introduces new ones.
|
1 mese fa |
Martijn Laan
|
5a7e6fffd5
Cleanup: Rename Setup.ScriptDlg to Setup.WizardForm.CustomPages because it doesn't depend on Script* units (=[Code]) at all. Move TProgressThrottler from ScriptFunc.HelperFunc to InstFunc to enable this.
|
1 mese fa |
Martijn Laan
|
2bff8c54a9
Make use of TStyleManager.FormBorderStyle which I didn't know about before. Prime benefit is SetupForm not having to update StyleElements anymore.
|
2 mesi fa |
Martijn Laan
|
59634a8cff
Add Uninstall support to WizardSetBackImage. Before it would reject to run, but there was no actual reason for this.
|
2 mesi fa |
Martijn Laan
|
966801a306
Whitespace.
|
2 mesi fa |
Martijn Laan
|
bce298a15a
Fix typo.
|
2 mesi fa |
Martijn Laan
|
1977833123
Undo adding over-the-top FSystemStyleName.
|
2 mesi fa |
Martijn Laan
|
8520dd23be
Make transparent/WantTabs TNewCheckListBox (which is excluded) draw native checkboxes/radiobuttons, making it looked unstyled.
|
2 mesi fa |
Martijn Laan
|
fc30acc51c
Improve: exclude control classes instead of including, and make sure style names are updated only once.
|
2 mesi fa |
Martijn Laan
|
5c230a35d9
WizardControlStyling -> WizardLightControlStyling
|
2 mesi fa |
Martijn Laan
|
f39e3285ae
Make it work for dynamically created controls as well. Previous work for updating CurrentPPI showed how to do this.
|
2 mesi fa |
Martijn Laan
|
794c3abf51
Support TPasswordEdit.
|
2 mesi fa |
Martijn Laan
|
36b7b4d9c7
Merge branch 'main' into excludelightcontrols
|
2 mesi fa |
Martijn Laan
|
984d3c33dd
Cleanup: calling SetDarkTitleBar (which updates StyleElements) after the 'inherited' call in CreateWnd caused it to reenter CreateWnd because updating StyleElements when Handle is allocated causes a RecreateWnd. So update StyleElements before the 'inherited' call to avoid the reentrancy. Does not change anything visually as far as I can tell.
|
2 mesi fa |
Martijn Laan
|
dfa5424b60
Update for merge.
|
2 mesi fa |
Martijn Laan
|
0f6b42028a
Cleanup.
|
2 mesi fa |
Martijn Laan
|
4403d3be82
Simplify & centralize the method to disable button styling.
|
2 mesi fa |
Martijn Laan
|
7e8aa77d41
Fix more warnings in various places. Had trouble keeping the focus on a single unit at a time.
|
2 mesi fa |
Martijn Laan
|
c4115eab78
Redo consistency cleanup which got lost in ae25a555.
|
2 mesi fa |
Martijn Laan
|
179c223b2c
Improve HandleNeeded code once more.
|
3 mesi fa |
Jordan Russell
|
655b9dad82
Tweak (to code I suggested).
|
3 mesi fa |
Martijn Laan
|
1f940f31fb
Add [Setup] WizardKeepAspectRatio, enabled by default.
|
3 mesi fa |
Martijn Laan
|
ae25a555ef
Switch to better method for keeping aspect ratio.
|
3 mesi fa |
Martijn Laan
|
6c63acf533
Simpler BeveledLabel fix. BTW: I've confirmed that it's the same for TStaticText, so it's not specific to TNewStaticText.
|
3 mesi fa |
Martijn Laan
|
bd45ac549e
Revert previous handle change. It fixes BeveledLabel but breaks the common buttons stackpanel of TaskDialogForm. It becomes left aligned. Note that this stackpanel doesnt even use Anchors. Like wtf :(
|
3 mesi fa |
Martijn Laan
|
31dc8db338
Call ParentHandlesNeeded even earlier. This fixes an issue with BeveledLabel which was introduced by commit 4e7050bb. So the preceding commit on main which is 1fbd5272 does not have this issue.
|
3 mesi fa |
Martijn Laan
|
c3518790c9
Tweak.
|
3 mesi fa |
Martijn Laan
|
e6e923294d
Cleanup.
|
3 mesi fa |
Martijn Laan
|
a2156510ee
Setup and Uninstall now restore the original aspect ratio of their windows after scaling for DPI.
|
3 mesi fa |