mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:56:08 +02:00
qt: fix some qt sizing problems (bug #0013079)
git-svn-id: trunk@18521 -
This commit is contained in:
parent
aa8e136984
commit
55eebeed17
@ -1408,8 +1408,10 @@ begin
|
||||
|
||||
// apply initial position and size
|
||||
move(FParams.X, FParams.Y);
|
||||
if GetContainerWidget <> Widget then
|
||||
QWidget_resize(GetContainerWidget, FParams.Width, FParams.Height);
|
||||
resize(FParams.Width, FParams.Height);
|
||||
|
||||
|
||||
FScrollX := 0;
|
||||
FScrollY := 0;
|
||||
|
||||
@ -4006,7 +4008,7 @@ begin
|
||||
QWidget_setAttribute(Result, QtWA_DeleteOnClose);
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
|
||||
QWidget_setAttribute(Result, QtWA_NoMousePropagation);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user