On Tue, 15 Jul 2003 22:32:22 +0200 (Romance Daylight Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> No, the crucial (IMO) difference is that the wizard doesn't do this > before > hand (or does it?) First page is passed to FitToPage before wizard appears on screen. This may change with what you describe below, but it works that way now. > 2. user-resizable: we should add style parameter to wxWizard ctor and > make it resizeable only if it has wxRESIZE_BORDER flag Yes, I will add style parameter to wxWizard::Create. > 3. automatic FitToPage(): in my mind, this should be done only for the > pages added to the sizer (the one returned by GetPageAreaSizer()), > so we don't need an extra flag for this neither Yes, passing first page to the sizer is as good as extra style flag. > 1. border around page: this should definitely be just another accessor > function (SetBorder()) Change of border around page is related to common practice to make 5 point border around all controls to space them 10 points away from each other. This unfortunately creates 5 point border around page itself that gets added to spacing between page and dialog frame accumulating to 15 point spacing between controls and frame. For this reason, I set border around page area sizer to zero when using sizers. If this is removed, everybody will have to call SetBorder(0) and nobody will use that function for anything else. Maybe zero border could be made default without asking (disadvantage: applications forced to update) or maybe it could depend on whether there is at least one item in GetPageAreaSizer (disadvantage: confusing). > So what do you think about this plan? BTW, if you agree, could you > please > make patch for wxWindows itself directly (CVS HEAD)? This will surely go > there and not in Mahogany. Yes, I can do this before finishing bare bones composer. However this requires updating docs and wizard sample, so that it is tested more generally than with our install wizard. ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
