Author: gs Date: Wed Oct 31 11:30:42 2007 New Revision: 41663 URL: http://svn.opensuse.org/viewcvs/yast?rev=41663&view=rev Log: remove NCSpacings Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc Modified: branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCAs... ============================================================================== --- branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc (original) +++ branches/tmp/sh/mod-ui/ncurses/src/NCAskForFile.cc Wed Oct 31 11:30:42 2007 @@ -141,8 +141,6 @@ new NCLabel( split, headline, true, false ); // isHeading = true - new NCSpacing( split, YD_VERT, false, 0.4 ); - NCFrame * frame = new NCFrame( split, "" ); // label for text field showing the selected dir @@ -160,7 +158,6 @@ detailed = new NCCheckBox( hSplit, _( "&Detailed View" ), false ); YStringWidgetID * detailsID = new YStringWidgetID( idDetails ); detailed->setId( detailsID ); - new NCSpacing( hSplit, YD_HORIZ, true, 0.1 ); // stretchable = true // HBox for the lists NCLayoutBox * hSplit1 = new NCLayoutBox( split, YD_HORIZ ); @@ -217,13 +214,11 @@ extension->addItem( filter, true ); // selected - new NCSpacing( split, YD_VERT, false, 0.8 ); + new NCSpacing( split, YD_VERT, false, 1.0 ); // HBox for the buttons NCLayoutBox * hSplit3 = new NCLayoutBox( split, YD_HORIZ ); - new NCSpacing( hSplit3, YD_HORIZ, true, 0.2 ); - // add the OK button okButton = new NCPushButton( hSplit3, _( "&OK" ) ); okButton->setFunctionKey( 10 ); @@ -232,8 +227,6 @@ YStringWidgetID * okID = new YStringWidgetID( idOk ); okButton->setId( okID ); - new NCSpacing( hSplit3, YD_HORIZ, true, 0.4 ); - // add the Cancel button cancelButton = new NCPushButton( hSplit3, _( "&Cancel" ) ); cancelButton->setFunctionKey( 9 ); @@ -242,8 +235,6 @@ YStringWidgetID * cancelID = new YStringWidgetID( idCancel ); cancelButton->setId( cancelID ); - new NCSpacing( hSplit3, YD_HORIZ, true, 0.2 ); - } /////////////////////////////////////////////////////////////////// -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org