Author: sh-sh-sh Date: Thu Jul 3 15:02:09 2008 New Revision: 48829 URL: http://svn.opensuse.org/viewcvs/yast?rev=48829&view=rev Log: more margins Modified: branches/tmp/jdsn/registration/src/RegHWInfoPage.cc Modified: branches/tmp/jdsn/registration/src/RegHWInfoPage.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jdsn/registration/src/RegHWInfoPage.cc?rev=48829&r1=48828&r2=48829&view=diff ============================================================================== --- branches/tmp/jdsn/registration/src/RegHWInfoPage.cc (original) +++ branches/tmp/jdsn/registration/src/RegHWInfoPage.cc Thu Jul 3 15:02:09 2008 @@ -86,7 +86,8 @@ YWidgetFactory * fac = YUI::widgetFactory(); // shortcut - YLayoutBox * vbox = fac->createVBox( parent ); + YAlignment * outerMarginBox = fac->createMarginBox( parent, 1.5, 0.3 ); + YLayoutBox * vbox = fac->createVBox( outerMarginBox ); string explanationText = _( "You can contribute to improve Linux by submitting information\n" @@ -97,8 +98,8 @@ fac->createVSpacing( vbox, 0.8 ); _sendHWInfoCheckBoxFrame = fac->createCheckBoxFrame( vbox, _( "Send Hardware and System Information" ), _sendHWInfo ); - YAlignment * marginBox = fac->createMarginBox( _sendHWInfoCheckBoxFrame, 1.5, 0.7 ); - _hwInfoRichText = fac->createRichText( marginBox, _hwInfoText, true ); // plainText + YAlignment * innerMarginBox = fac->createMarginBox( _sendHWInfoCheckBoxFrame, 1.5, 0.7 ); + _hwInfoRichText = fac->createRichText( innerMarginBox, _hwInfoText, true ); // plainText } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org