Changeset 490 for trunk/Components/ControlsUtility.pas
- Timestamp:
- Dec 24, 2023, 7:15:31 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Components/ControlsUtility.pas
r470 r490 759 759 InitW: longint; 760 760 InitH: longint; 761 TBarHeight: integer; 761 762 begin 762 763 InitW := Form.Width; … … 783 784 XFactor, 784 785 YFactor ); 786 787 // Increase overall window height to allow for a taller-than-normal titlebar 788 TBarHeight := WinQuerySysValue( HWND_DESKTOP, SV_CYTITLEBAR ); 789 if TBarHeight > 23 then 790 //Form.Height := Form.Height + TBarHeight - 23; 791 Form.Height := Form.Height + Round( 23 * YFactor ) - 20; 785 792 786 793 // Adjust the bottom left position by half of the width/height increase
Note:
See TracChangeset
for help on using the changeset viewer.