Fixed layout warning messages at startup. This resolves bug 1892.

pull/1/head
Michele Calgaro 11 years ago
parent 3b3d8c5fb4
commit fa0b2dc583

@ -30,7 +30,7 @@ IngredientGroupsDialog::IngredientGroupsDialog( RecipeDB *db, TQWidget *parent,
headerListView->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding ) ); headerListView->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding ) );
layout->addWidget(headerListView); layout->addWidget(headerListView);
TQVBoxLayout *buttonLayout = new TQVBoxLayout(this); TQVBoxLayout *buttonLayout = new TQVBoxLayout(NULL, 0, KDialog::spacingHint());
TQPushButton *addHeaderButton = new TQPushButton( this ); TQPushButton *addHeaderButton = new TQPushButton( this );
addHeaderButton->setText( "+" ); addHeaderButton->setText( "+" );
addHeaderButton->setMinimumSize( TQSize( 30, 30 ) ); addHeaderButton->setMinimumSize( TQSize( 30, 30 ) );

@ -357,7 +357,7 @@ RecipeInputDialog::RecipeInputDialog( TQWidget* parent, RecipeDB *db ) : TQVBox(
ingredientList->setDefaultRenameAction( TQListView::Reject ); ingredientList->setDefaultRenameAction( TQListView::Reject );
ingredientsLayout->addMultiCellWidget( ingredientList, 3, 9, 1, 3 ); ingredientsLayout->addMultiCellWidget( ingredientList, 3, 9, 1, 3 );
TQHBoxLayout *propertyStatusLayout = new TQHBoxLayout( ingredientGBox, 0, 5 ); TQHBoxLayout *propertyStatusLayout = new TQHBoxLayout( NULL, 0, 5 );
TQLabel *propertyLabel = new TQLabel( i18n("Property Status:"), ingredientGBox ); TQLabel *propertyLabel = new TQLabel( i18n("Property Status:"), ingredientGBox );
propertyStatusLabel = new TQLabel( ingredientGBox ); propertyStatusLabel = new TQLabel( ingredientGBox );
propertyStatusLed = new ClickableLed( ingredientGBox ); propertyStatusLed = new ClickableLed( ingredientGBox );

Loading…
Cancel
Save