[rkward/frameworks] rkward/windows: Save some space

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Mar 16 21:03:30 UTC 2016


Git commit 583c60ce7de241c1babfdf5c20534d6403f867fd by Thomas Friedrichsmeier.
Committed on 16/03/2016 at 17:09.
Pushed by tfry into branch 'frameworks'.

Save some space

M  +3    -0    rkward/windows/rkworkplace.cpp

http://commits.kde.org/rkward/583c60ce7de241c1babfdf5c20534d6403f867fd

diff --git a/rkward/windows/rkworkplace.cpp b/rkward/windows/rkworkplace.cpp
index 8c99c98..94da5ca 100644
--- a/rkward/windows/rkworkplace.cpp
+++ b/rkward/windows/rkworkplace.cpp
@@ -73,6 +73,7 @@ RKWorkplace::RKWorkplace (QWidget *parent) : QWidget (parent) {
 
 	QVBoxLayout *vbox = new QVBoxLayout (this);
 	vbox->setContentsMargins (0, 0, 0, 0);
+	vbox->setSpacing (0);
 	vbox->addWidget (message_area);
 
 	tool_window_bars[RKToolWindowList::Top] = new RKToolWindowBar (KMultiTabBar::Top, this);
@@ -81,6 +82,8 @@ RKWorkplace::RKWorkplace (QWidget *parent) : QWidget (parent) {
 
 	QWidget *harea = new QWidget (vert_splitter);
 	QHBoxLayout *hbox = new QHBoxLayout (harea);
+	hbox->setContentsMargins (0, 0, 0, 0);
+	hbox->setSpacing (0);
 	vert_splitter->setCollapsible (vert_splitter->indexOf (harea), false);
 	vert_splitter->setStretchFactor (vert_splitter->indexOf (harea), 1);
 



More information about the rkward-tracker mailing list