mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 08:50:16 +02:00
cocoa: fix client frame coordinates for NSBox (groupbox). bug #36109
git-svn-id: trunk@62061 -
This commit is contained in:
parent
53c619e833
commit
bb2517cbf1
@ -477,7 +477,10 @@ begin
|
||||
if not Assigned(v) then
|
||||
Result := inherited lclClientFrame
|
||||
else
|
||||
Result := NSRectToRect( v.frame );
|
||||
if v.isFlipped then
|
||||
Result := NSRectToRect( v.frame )
|
||||
else
|
||||
NSToLCLRect(v.frame, frame.size.height, Result);
|
||||
end;
|
||||
|
||||
function TCocoaGroupBox.lclContentView: NSView;
|
||||
|
Loading…
Reference in New Issue
Block a user