aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-03 20:59:56 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-03 22:29:26 +0200
commit3913c387c98ae791db52703c19d41a9fecab9461 (patch)
tree01d9ea087edf791a492360a1e3f650346f654184
parent8fe2308b34c444f74fed453133e0ada34ed9dd23 (diff)
Eliminate useless padding
-rw-r--r--src/qt/transactionview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp
index 7bbe55001d..d024400fff 100644
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -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);