Commit d06c8d93 authored by Stephan Kulow's avatar Stephan Kulow

deprecated--

svn path=/trunk/KDE/kdemultimedia/juk/; revision=537044
parent 529f231c
......@@ -83,7 +83,9 @@ AdvancedSearchDialog::AdvancedSearchDialog(const QString &defaultName,
}
QWidget *buttons = new QWidget(criteriaGroupBox);
QBoxLayout *l = new QHBoxLayout(buttons, 0, 5);
QBoxLayout *l = new QHBoxLayout(buttons);
l->setSpacing(5);
l->setMargin(0);
KPushButton *clearButton = new KPushButton(KStdGuiItem::clear(), buttons);
connect(clearButton, SIGNAL(clicked()), SLOT(clear()));
......
......@@ -494,13 +494,19 @@ void TagEditor::setupLayout()
static const int horizontalSpacing = 12;
static const int verticalSpacing = 2;
QHBoxLayout *layout = new QHBoxLayout(this, 6, horizontalSpacing);
QHBoxLayout *layout = new QHBoxLayout(this);
layout->setSpacing(horizontalSpacing);
layout->setMargin(6);
//////////////////////////////////////////////////////////////////////////////
// define two columns of the bottem layout
//////////////////////////////////////////////////////////////////////////////
QVBoxLayout *leftColumnLayout = new QVBoxLayout(layout, verticalSpacing);
QVBoxLayout *rightColumnLayout = new QVBoxLayout(layout, verticalSpacing);
QVBoxLayout *leftColumnLayout = new QVBoxLayout();
layout->addItem( leftColumnLayout );
leftColumnLayout->setSpacing(verticalSpacing);
QVBoxLayout *rightColumnLayout = new QVBoxLayout();
layout->addItem( rightColumnLayout );
rightColumnLayout->setSpacing(verticalSpacing);
layout->setStretchFactor(leftColumnLayout, 2);
layout->setStretchFactor(rightColumnLayout, 3);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment