From kde-commits Wed Feb 03 21:30:05 2016 From: Kevin Ottens Date: Wed, 03 Feb 2016 21:30:05 +0000 To: kde-commits Subject: [kdepim/vendor/eyeos] messageviewer/viewer: Get rid of the bottom space in the message viewer Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=145453501325742 Git commit 6d7dfb56aec7f7c2ac0d55f6536e9c40d63ef7de by Kevin Ottens. Committed on 03/02/2016 at 21:29. Pushed by ervin into branch 'vendor/eyeos'. Get rid of the bottom space in the message viewer This space I was seeing is in fact the spacing to a zero sized widget (likely the message structure widget). Let's get rid of it. M +1 -0 messageviewer/viewer/viewer_p.cpp http://commits.kde.org/kdepim/6d7dfb56aec7f7c2ac0d55f6536e9c40d63ef7de diff --git a/messageviewer/viewer/viewer_p.cpp b/messageviewer/viewer/viewe= r_p.cpp index a7fa455..e90abc7 100644 --- a/messageviewer/viewer/viewer_p.cpp +++ b/messageviewer/viewer/viewer_p.cpp @@ -1518,6 +1518,7 @@ void ViewerPrivate::createWidgets() { QMargins margins =3D readerBox->layout()->contentsMargins(); margins.setBottom(0); readerBox->layout()->setContentsMargins(margins); + readerBox->layout()->setSpacing(0); = mColorBar->setObjectName( QLatin1String("mColorBar") ); mColorBar->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Expanding );