Browse Source

Eliminate useless padding

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
3913c387c9
  1. 6
      src/qt/transactionview.cpp

6
src/qt/transactionview.cpp

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

Loading…
Cancel
Save