[rkward] rkward/plugin: Remove some dead space in plugins

Thomas Friedrichsmeier null at kde.org
Wed May 16 08:41:18 UTC 2018


Git commit aeb7e215bccf2aab4b43e34b0b04f218dd25fcc6 by Thomas Friedrichsmeier.
Committed on 16/05/2018 at 07:49.
Pushed by tfry into branch 'master'.

Remove some dead space in plugins

M  +2    -1    rkward/plugin/rkstandardcomponentgui.cpp

https://commits.kde.org/rkward/aeb7e215bccf2aab4b43e34b0b04f218dd25fcc6

diff --git a/rkward/plugin/rkstandardcomponentgui.cpp b/rkward/plugin/rkstandardcomponentgui.cpp
index df4d4004..e3ce222f 100644
--- a/rkward/plugin/rkstandardcomponentgui.cpp
+++ b/rkward/plugin/rkstandardcomponentgui.cpp
@@ -176,7 +176,8 @@ void RKStandardComponentGUI::createDialog (bool switchable) {
 
 	// build standard elements
 	main_widget = new QWidget (central_widget);
-	new QVBoxLayout (main_widget);
+	QVBoxLayout* main_widget_layout = new QVBoxLayout (main_widget);
+	main_widget_layout->setContentsMargins(0, 0, 0, 0);
 	hbox->addWidget (main_widget);
 
 	// lines



More information about the rkward-tracker mailing list