Użytkownik Paul McNett napisał:
> dabo Commit
> Revision 5039
> Date: 2009-02-08 08:20:23 -0800 (Sun, 08 Feb 2009)
> Author: Paul
> Trac: http://trac.dabodev.com/changeset/5039
>
> Changed:
> U trunk/dabo/ui/uiwx/dFormMixin.py
>
> Log:
> When in designer mode, we don't need to save size and position, either.
>
Sorry Paul, but i have a bad news to you.
Everything with position restoration works fine till main form has no
toolbar.
When main form ShowToolBar is set to true, MDI child window position
and even size isn't resored properly.
Coordinates are saved correctly but looks as
self.Size = (width, height)
and
self.Position = (left, top)
calls in restoreSizeAndPosition method doesn't work as it should.
It's strange but under debugger (I use Eclipse Pydev) size of frame
is restored properly, only position isn't.
But when I run pure application from command line, nothing works as
expected.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]