1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Added QT6 support
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled

Added SimpleBrowser for Lazarus and QT6
This commit is contained in:
Salvador Díaz Fau
2025-09-14 19:25:12 +02:00
parent ce571c5674
commit 435cfe8cae
13 changed files with 664 additions and 8 deletions

View File

@@ -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}