mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 05:19:28 +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,6 +1408,8 @@ begin
|
|||||||
|
|
||||||
// apply initial position and size
|
// apply initial position and size
|
||||||
move(FParams.X, FParams.Y);
|
move(FParams.X, FParams.Y);
|
||||||
|
if GetContainerWidget <> Widget then
|
||||||
|
QWidget_resize(GetContainerWidget, FParams.Width, FParams.Height);
|
||||||
resize(FParams.Width, FParams.Height);
|
resize(FParams.Width, FParams.Height);
|
||||||
|
|
||||||
FScrollX := 0;
|
FScrollX := 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user