[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/usbview
From: Nadeem Hasan <nhasan () nadmm ! com>
Date: 2003-04-06 19:48:51
[Download RAW message or body]
CVS commit by nhasan:
Fix margin and spacing.
M +5 -4 kcmusb.cpp 1.14
--- kdebase/kcontrol/usbview/kcmusb.cpp #1.13:1.14
@@ -20,7 +20,8 @@
#include <kgenericfactory.h>
+#include <kaboutdata.h>
+#include <kdialog.h>
#include "usbdevices.h"
-#include <kaboutdata.h>
#include "kcmusb.moc"
@@ -33,10 +34,10 @@ USBViewer::USBViewer(QWidget *parent, co
setButtons(Help);
- QVBoxLayout *vbox = new QVBoxLayout(this);
+ QVBoxLayout *vbox = new QVBoxLayout(this, 0, KDialog::spacingHint());
QGroupBox *gbox = new QGroupBox(i18n("USB Devices"), this);
+ gbox->setColumnLayout( 0, Qt::Horizontal );
vbox->addWidget(gbox);
- QVBoxLayout *vvbox = new QVBoxLayout(gbox, 6);
- vvbox->addSpacing(gbox->fontMetrics().height());
+ QVBoxLayout *vvbox = new QVBoxLayout(gbox->layout(), KDialog::spacingHint());
QSplitter *splitter = new QSplitter(gbox);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic