diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-03 20:59:56 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-07-03 22:29:26 +0200 |
commit | 3913c387c98ae791db52703c19d41a9fecab9461 (patch) | |
tree | 01d9ea087edf791a492360a1e3f650346f654184 | |
parent | 8fe2308b34c444f74fed453133e0ada34ed9dd23 (diff) |
Eliminate useless padding
-rw-r--r-- | src/qt/transactionview.cpp | 6 |
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); |