lcl: less hints

git-svn-id: trunk@55680 -
This commit is contained in:
mattias 2017-08-19 08:19:08 +00:00
parent 895444b524
commit 60ffd8c84e

View File

@ -685,7 +685,7 @@ begin
// as expected for some reason.issue #20741.
// Constraints fix issue #29563
AFixedWidthHeight := AForm.BorderStyle in [bsDialog, bsSingle, bsToolWindow];
FillChar(Geometry, SizeOf(TGdkGeometry), 0);
FillChar(Geometry{%H-}, SizeOf(TGdkGeometry), 0);
with Geometry do
begin
if not AFixedWidthHeight and (AForm.Constraints.MinWidth > 0) then