Author: gs Date: Thu Jul 3 14:50:38 2008 New Revision: 48825 URL: http://svn.opensuse.org/viewcvs/yast?rev=48825&view=rev Log: create VBox Modified: branches/tmp/jdsn/registration/src/RegWizard.cc branches/tmp/jdsn/registration/src/WizardEmulation.cc Modified: branches/tmp/jdsn/registration/src/RegWizard.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/RegWizard.cc?rev=48825&r1=48824&r2=48825&view=diff ============================================================================== --- branches/tmp/jdsn/registration/src/RegWizard.cc (original) +++ branches/tmp/jdsn/registration/src/RegWizard.cc Thu Jul 3 14:50:38 2008 @@ -77,7 +77,7 @@ else { YLayoutBox* vbox = YUI::widgetFactory()->createVBox( dialog ); - vbox->setWeight( YD_VERT, 0 ); + // Use wizard emulation as fallback regWizard()->_wizard = new WizardEmulation( vbox, _( "&Back" ), Modified: branches/tmp/jdsn/registration/src/WizardEmulation.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/WizardEmulation.cc?rev=48825&r1=48824&r2=48825&view=diff ============================================================================== --- branches/tmp/jdsn/registration/src/WizardEmulation.cc (original) +++ branches/tmp/jdsn/registration/src/WizardEmulation.cc Thu Jul 3 14:50:38 2008 @@ -69,13 +69,13 @@ setWeight( YD_VERT, 1 ); setStretchable( YD_VERT, false ); - //YLayoutBox* vbox = YUI::widgetFactory()->createVBox( parent ); + YLayoutBox* vbox = YUI::widgetFactory()->createVBox( parent ); - _dialogHeading = YUI::widgetFactory()->createLabel( parent , "YaST Initialising" ); + _dialogHeading = YUI::widgetFactory()->createLabel( vbox , "YaST Initialising" ); - _contentsReplacePoint = YUI::widgetFactory()->createReplacePoint( parent ); + _contentsReplacePoint = YUI::widgetFactory()->createReplacePoint( vbox ); - layoutButtonBox( parent ); + layoutButtonBox( vbox ); // // Initial YEmpty widget contents of replace point @@ -195,6 +195,7 @@ void WizardEmulation::showHelp() { + #if 0 if (!_helpDlg) _helpDlg = new YHelpDialog ( _helpText, NULL ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org