mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 09:49:22 +02:00
gtk intf: GetControlConstraints now returns Max=0 if no Max exists
git-svn-id: trunk@11178 -
This commit is contained in:
parent
84e280545f
commit
d63cf2492c
@ -342,8 +342,8 @@ begin
|
||||
if Constraints is TSizeConstraints then begin
|
||||
MinWidth := 0;
|
||||
MinHeight := 0;
|
||||
MaxWidth:=10000;
|
||||
MaxHeight:=10000;
|
||||
MaxWidth:=0;
|
||||
MaxHeight:=0;
|
||||
SizeConstraints:=TSizeConstraints(Constraints);
|
||||
|
||||
if (SizeConstraints.Control=nil) then exit;
|
||||
|
Loading…
Reference in New Issue
Block a user