mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 07:36:14 +02:00
LCL: Fix form's scrollbars that disappeared after resize. Issue #19677, patch from August Klein
git-svn-id: trunk@33073 -
This commit is contained in:
parent
b8cb50f5ce
commit
1c66c1c865
@ -1393,7 +1393,7 @@ end;
|
||||
procedure TCustomForm.GetPreferredSize(var PreferredWidth,
|
||||
PreferredHeight: integer; Raw: boolean; WithThemeSpace: boolean);
|
||||
begin
|
||||
if fsDisableAutoSize in FFormState then begin
|
||||
if (fsDisableAutoSize in FFormState) and not Raw then begin
|
||||
PreferredWidth:=Width;
|
||||
PreferredHeight:=Height;
|
||||
end else begin
|
||||
|
Loading…
Reference in New Issue
Block a user