diff -r 459da34cdb45 -r 83cc6bae1de8 emailuis/nmailuiwidgets/src/nmattachmentlistwidget.cpp --- a/emailuis/nmailuiwidgets/src/nmattachmentlistwidget.cpp Fri Sep 03 17:52:02 2010 +0300 +++ b/emailuis/nmailuiwidgets/src/nmattachmentlistwidget.cpp Wed Sep 15 12:09:55 2010 +0300 @@ -460,9 +460,11 @@ //check which orientation in use //if layout is horizontal, items need to be placed in 2 columns. if(Qt::Vertical == mOrientation){ + item->setPreferredWidth( mLayout->geometry().width() ); mLayout->addItem(item,layout_count,0); } else { // Qt FW sets the correct width automatically based on the width of the child widgets + item->setPreferredWidth( mLayout->geometry().width() / 2); mLayout->addItem(item,layout_count / 2, layout_count % 2); } }