mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 05:39:19 +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
|
Case StretchMode of
|
||||||
smMaxHeight:
|
smMaxHeight:
|
||||||
begin
|
begin
|
||||||
|
RTLayout.Height := aDesiredHeight;
|
||||||
if Assigned(Parent) and Assigned(RTLayout) then
|
if Assigned(Parent) and Assigned(RTLayout) then
|
||||||
RTLayout.Height:=Parent.RTLayout.Height-RTLayout.Top;
|
RTLayout.Height:=Parent.RTLayout.Height-RTLayout.Top;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user