TFrame jumps around in IDE when created or loaded
Original Reporter info from Mantis: Phil
-
Reporter name:
Original Reporter info from Mantis: Phil
- Reporter name:
Description:
File | New | Frame shows the problem. Each Frame positions itself differently, often obscuring parts of the Lazarus main menu or Object Inspector. This behavior is caused by the following line in TFrameDesignerForm.Create:
Position := poDefaultPosOnly; // let it be at default position since frame TopLeft is always (0,0)
I fixed this behavior by changing the line to this:
Position := poDesigned;
Now it behaves more like Delphi, positioning the frame just below the source editor's row of tabs, thereby no longer obscuring anything else.
Also, this is not a problem on, say, OS X, because it appears that the Carbon widgetset ignores the poDefaultPosOnly since this really has no particular meaning on OS X.
Thanks.
-Phil
Mantis conversion info:
- Mantis ID: 13695
- Platform: Windows
- Version: 0.9.26.2
- Fixed in version: 0.9.27 (SVN)
- Fixed in revision: 19934 (#84fe092b)