mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* Fix smMaxheight stretchmode
git-svn-id: trunk@39201 -
This commit is contained in:
parent
d08f06df22
commit
9e76882ae6
@ -4043,6 +4043,7 @@ begin
|
||||
Case StretchMode of
|
||||
smMaxHeight:
|
||||
begin
|
||||
RTLayout.Height := aDesiredHeight;
|
||||
if Assigned(Parent) and Assigned(RTLayout) then
|
||||
RTLayout.Height:=Parent.RTLayout.Height-RTLayout.Top;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user