Component not resized
Closed this issue · 1 comments
GoogleCodeExporter commented
What is the expected output? What do you see instead?
The component stays the same size as at design time, even trough it's Align
property is set to alClient. Thi is happening in D2007 compiled app.
Please provide any additional information below.
function TCustomChromium.doOnAfterCreated(const browser: ICefBrowser):
TCefRetval;
begin
if not browser.IsPopup then
begin
FBrowser := browser;
FBrowserHandle := browser.GetWindowHandle;
end;
//mv Fix the resize problem
SendMessage(Self.Handle, WM_SIZE, 0, 0);
Result := RV_CONTINUE;
if Assigned(FOnAfterCreated) then
FOnAfterCreated(Self, browser, Result);
end;
Original issue reported on code.google.com by miha.vrh...@gmail.com
on 22 Jan 2011 at 2:07
GoogleCodeExporter commented
Original comment by hgourv...@gmail.com
on 23 Feb 2011 at 3:47
- Changed state: Fixed