You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Added SimpleBrowser for Lazarus and QT6
This commit is contained in:
@@ -187,7 +187,13 @@ begin
|
||||
if not(csDesigning in ComponentState) and
|
||||
(Chromium <> nil) and
|
||||
Chromium.Initialized then
|
||||
Chromium.UpdateBrowserSize(Left, Top, Width, Height);
|
||||
begin
|
||||
{$IF DEFINED(LCLQT) OR DEFINED(LCLQT5) OR DEFINED(LCLQT6)}
|
||||
Chromium.UpdateBrowserSize(0, 0, Width, Height);
|
||||
{$ELSE}
|
||||
Chromium.UpdateBrowserSize(Left, Top, Width, Height);
|
||||
{$IFEND}
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF MACOSX}
|
||||
|
||||
Reference in New Issue
Block a user