Eliminate useless padding

This commit is contained in:
Wladimir J. van der Laan 2011-07-03 20:59:56 +02:00
parent 8fe2308b34
commit 3913c387c9

View File

@ -23,8 +23,10 @@ TransactionView::TransactionView(QWidget *parent) :
transactionView(0)
{
// Build filter row
setContentsMargins(0,0,0,0);
QHBoxLayout *hlayout = new QHBoxLayout();
hlayout->setContentsMargins(QMargins(0,0,0,0));
hlayout->setContentsMargins(0,0,0,0);
hlayout->setSpacing(0);
hlayout->addSpacing(23);
@ -72,6 +74,8 @@ TransactionView::TransactionView(QWidget *parent) :
hlayout->addWidget(amountWidget);
QVBoxLayout *vlayout = new QVBoxLayout(this);
vlayout->setContentsMargins(0,0,0,0);
vlayout->setSpacing(0);
QTableView *view = new QTableView(this);
vlayout->addLayout(hlayout);