mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
qt: Fix Recent transactions list height (#3744)
* qt: Bring back setMinimumHeight for recent tx list
This partially reverts a3604f5
Turns out that we still need this at least on Windows (not sure why but tx list looks clipped there atm)
* Reduce number of items in recent tx list by 1 (for PS enabled cases only)
Most users will never see immature funds and the list is going to be too long for them most of the time
This commit is contained in:
parent
12d0782071
commit
586f166499
@ -26,8 +26,8 @@
|
||||
|
||||
#define ITEM_HEIGHT 54
|
||||
#define NUM_ITEMS_DISABLED 5
|
||||
#define NUM_ITEMS_ENABLED_NORMAL 7
|
||||
#define NUM_ITEMS_ENABLED_ADVANCED 9
|
||||
#define NUM_ITEMS_ENABLED_NORMAL 6
|
||||
#define NUM_ITEMS_ENABLED_ADVANCED 8
|
||||
|
||||
class TxViewDelegate : public QAbstractItemDelegate
|
||||
{
|
||||
@ -677,6 +677,7 @@ void OverviewPage::SetupTransactionList(int nNumItems)
|
||||
}
|
||||
|
||||
filter->setLimit(nNumItems);
|
||||
ui->listTransactions->setMinimumHeight(nNumItems * ITEM_HEIGHT);
|
||||
}
|
||||
|
||||
void OverviewPage::DisablePrivateSendCompletely() {
|
||||
|
Loading…
Reference in New Issue
Block a user