Transaction type column width adjusted

This commit is contained in:
crowning- 2015-04-03 20:42:54 +02:00
parent d14c302b85
commit 833cf2b23e
2 changed files with 3 additions and 3 deletions

4
src/qt/transactionview.cpp Normal file → Executable file
View File

@ -68,9 +68,9 @@ TransactionView::TransactionView(QWidget *parent) :
typeWidget = new QComboBox(this);
#ifdef Q_OS_MAC
typeWidget->setFixedWidth(121);
typeWidget->setFixedWidth(TYPE_COLUMN_WIDTH+1);
#else
typeWidget->setFixedWidth(120);
typeWidget->setFixedWidth(TYPE_COLUMN_WIDTH);
#endif
typeWidget->addItem(tr("All"), TransactionFilterProxy::ALL_TYPES);

2
src/qt/transactionview.h Normal file → Executable file
View File

@ -50,7 +50,7 @@ public:
enum ColumnWidths {
STATUS_COLUMN_WIDTH = 23,
DATE_COLUMN_WIDTH = 120,
TYPE_COLUMN_WIDTH = 120,
TYPE_COLUMN_WIDTH = 240,
AMOUNT_MINIMUM_COLUMN_WIDTH = 120,
MINIMUM_COLUMN_WIDTH = 23
};