Hi, As per a recent message by Mattias about using IDEDialogLayoutList to position add-on packages dialogs...I thought I would take a look at an old problem. This as been something that bugged me for ages in the "File Browser" add-on. Size (width and height) is restored, but the position (top and left) is NOT.
This is very annoying. I thought maybe I am using it wrong in the "File Browser" add-on, so had a look at the ide/addtoprojectdlg.pas unit and it has the same problem. Position (top and left) is NOT restored. Looking at the saved settings in the environmentoptions.xml file I can clearly see that only Width and Height is saved for any dialogs (ones that are not registered in the Environment > Options > Environment > Windows dialog). Shouldn't the following call apply all four properties? Width, Height, Top and Left? IDEDialogLayoutList.ApplyLayout(); -- Regards, - Graeme - _______________________________________________________ fpGUI - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
