mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 00:35:56 +02:00
Adds the MaximizedWindowHeightCorrection property to correct window height in Windows CE.
git-svn-id: trunk@17681 -
This commit is contained in:
parent
fb1ea9e664
commit
e42f38b071
@ -215,10 +215,10 @@ type
|
||||
property OnAsyncSocketMsg: TSocketEvent read FOnAsyncSocketMsg write FOnAsyncSocketMsg;
|
||||
|
||||
public
|
||||
|
||||
{ Variables to be set by the user }
|
||||
|
||||
WinCETitlePolicy: TWinCETitlePolicy;
|
||||
|
||||
MaximizedWindowHeightCorrection: Integer;
|
||||
end;
|
||||
|
||||
{$I wincelistslh.inc}
|
||||
|
@ -305,8 +305,9 @@ begin
|
||||
begin
|
||||
Left := WR.Left;
|
||||
Top := WR.Top;
|
||||
Height := WR.Bottom - WR.Top;// - GetSystemMetrics(SM_CYMENU)
|
||||
//- GetSystemMetrics(SM_CXBORDER) * 2;
|
||||
Height := WR.Bottom - WR.Top - WinCEWidgetset.MaximizedWindowHeightCorrection;
|
||||
// - GetSystemMetrics(SM_CYMENU)
|
||||
//- GetSystemMetrics(SM_CXBORDER) * 2;
|
||||
Width := WR.Right - WR.Left;
|
||||
end
|
||||
else if (BorderStyle = bsDialog) then
|
||||
|
Loading…
Reference in New Issue
Block a user