mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:19:47 +02:00
Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox)
This commit is contained in:
parent
91259b6af5
commit
04c15dace4
@ -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