Merge pull request #297 from crowning-/master
Transaction type column width adjusted
This commit is contained in:
commit
ac51baf4a2
4
src/qt/transactionview.cpp
Normal file → Executable file
4
src/qt/transactionview.cpp
Normal file → Executable 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
2
src/qt/transactionview.h
Normal file → Executable 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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user