[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kontact/plugins/summary
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2008-10-05 12:02:13
Message-ID: 1223208133.455673.31910.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 868083 by danimo:

a commit from the "remove code and get nicer a layout for free" dept.:
properly space out summary views


 M  +0 -3      summaryview_part.cpp  


--- trunk/KDE/kdepim/kontact/plugins/summary/summaryview_part.cpp #868082:868083
@@ -167,8 +167,6 @@
     Kontact::Summary *summary = plugin->createSummaryWidget( mFrame );
     if ( summary ) {
       if ( summary->summaryHeight() > 0 ) {
-        summary->layout()->setAlignment( Qt::AlignLeft | Qt::AlignTop );
-        summary->layout()->setContentsMargins( 3, 3, 3, 3 );
         mSummaries.insert( plugin->identifier(), summary );
 
         connect( summary, SIGNAL(message(const QString&)),
@@ -218,7 +216,6 @@
   mRightColumn = new QVBoxLayout();
   layout->addLayout( mRightColumn );
   mRightColumn->setSpacing( KDialog::spacingHint() );
-  mRightColumn->addSpacerItem( new QSpacerItem( 200, 1 ) );
 
   QStringList::Iterator strIt;
   for ( strIt = mLeftColumnSummaries.begin(); strIt != mLeftColumnSummaries.end(); ++strIt ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic