mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 04:29:25 +02:00
Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox)
This commit is contained in:
parent
9c43c3f1d9
commit
531122b3b7
@ -1634,6 +1634,7 @@ begin
|
||||
dr := lclFrame;
|
||||
Types.OffsetRect(dr, -dr.Left, -dr.Top);
|
||||
SubLayoutFromFrame( lclGetFrameToLayoutDelta, dr);
|
||||
ctx.InitDraw(dr.Width, dr.Height);
|
||||
|
||||
// magic offsets are based on the macOS 10.13.6 visual style
|
||||
// but hard-coding is never reliable
|
||||
|
Loading…
Reference in New Issue
Block a user