r2 - 14 Sep 2004 - 17:46:52 - MorgenSagenYou are here: OSAF >  Journal Web  >  ContributorNotes > MorgenSagenNotes > MorgenSagen20040911

wx.dialog and sizers

If you want to resize a dialog box to just fit whatever controls you put inside, make sure that you add your new controls to the sizer that should directly manage their placement, then call Fit( ) on the outermost sizer.

EmailAddress? problem

ItemRef?: IMAPAccount: IMAPAccountOne? 1627cdbe-06a5-11d9-a631-000a95bb2738 - Foo doesn't reference Bar

Sez Andi: a bi-directional ref is dereferenced with an item that it is not refering to. A bi-directional ref points to two items. The other() method takes one item and returns the other or complains if there is no match

This exception is seen after modify the imap account email address (which now creates new EmailAddress? items behind the scenes), and visiting the old EmailAddress? item in the repository viewer

I think the problem is that one end of an itemref was list and one was single. For now changed the list to single until getting answer from Andi.

-- MorgenSagen - 14 Sep 2004

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.