[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim/vendor/eyeos] messageviewer/viewer: Get rid of the bottom space in the message viewer
From: Kevin Ottens <kevin.ottens () kdab ! com>
Date: 2016-02-03 21:30:05
Message-ID: E1aR501-000070-4r () scm ! kde ! org
[Download RAW message or body]
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/viewer_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 = readerBox->layout()->contentsMargins();
margins.setBottom(0);
readerBox->layout()->setContentsMargins(margins);
+ readerBox->layout()->setSpacing(0);
mColorBar->setObjectName( QLatin1String("mColorBar") );
mColorBar->setSizePolicy( QSizePolicy::Fixed, QSizePolicy::Expanding );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic