mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 07:55:58 +02:00
cocoa: automatic embedded form resizing. #35599
git-svn-id: trunk@61250 -
This commit is contained in:
parent
83f87d971d
commit
475be67649
@ -718,6 +718,7 @@ begin
|
||||
begin
|
||||
lDestView := GetNSObjectView(NSObject(AParams.WndParent));
|
||||
lDestView.addSubView(cnt);
|
||||
cnt.setAutoresizingMask(NSViewMaxXMargin or NSViewMinYMargin);
|
||||
if cnt.window <> nil then
|
||||
cnt.window.setAcceptsMouseMovedEvents(True);
|
||||
cnt.callback.IsOpaque:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user