On Feb 11, 2011, at 11:42 AM, Ricardo Araoz wrote:

> Inside a form's afterInit() method tried
> self.fitToSizer(extraWdith=200), I supposed it would resize the form to
> the size required by it's sizer plus 200 pixels but it just resized it
> to the sizer's required size.
> Solved it by adding self.MinimumWidth = 200 in self.initProperties(),
> but though I should report the issue here.


        afterInit() fires after the form has been created, but before anything 
contained in the form has been created. You should probably use afterInitAll(), 
which fires after all the objects contained by the form have been created.


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to