Merge pull request #297 from crowning-/master

Transaction type column width adjusted
This commit is contained in:
evan82 2015-04-07 07:30:15 -07:00
commit ac51baf4a2
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
};