mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 10:39:20 +02:00
cocoa: setting a scrollview not to draw background, to be darkmode friendly. #34105
git-svn-id: trunk@58971 -
This commit is contained in:
parent
ced0c01a3b
commit
c9a2caec65
@ -168,6 +168,7 @@ begin
|
|||||||
Result.lclSetFrame(r);
|
Result.lclSetFrame(r);
|
||||||
Result.setHidden(AView.isHidden);
|
Result.setHidden(AView.isHidden);
|
||||||
Result.setDocumentView(AView);
|
Result.setDocumentView(AView);
|
||||||
|
Result.setDrawsBackground(false); // everything is covered anyway
|
||||||
if AReleaseView then AView.release;
|
if AReleaseView then AView.release;
|
||||||
AView.setHidden(false);
|
AView.setHidden(false);
|
||||||
SetViewDefaults(Result);
|
SetViewDefaults(Result);
|
||||||
|
Loading…
Reference in New Issue
Block a user