mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:29:37 +02:00
lcl: change TSpitter to respect other control constrains (issue #0013905 by Martin)
git-svn-id: trunk@20473 -
This commit is contained in:
parent
2544382402
commit
ad154a3de0
@ -349,7 +349,7 @@ begin
|
||||
if Assigned(CurOtherResizeControl)
|
||||
then EndSize := GetControlSize(CurResizeControl)
|
||||
+ GetControlSize(CurOtherResizeControl)
|
||||
- fMinSize
|
||||
- Max(fMinSize, GetControlConstraintsMinSize(CurOtherResizeControl))
|
||||
else begin
|
||||
VirtualOppositeControl := FindVirtualOppositeControl(Self);
|
||||
LastControl := FindLastControl(Self);
|
||||
|
Loading…
Reference in New Issue
Block a user