GUI: Move the "Recent Transactions" view below "Balances"

This commit is contained in:
Luke Dashjr 2019-01-08 14:50:14 +00:00 committed by Gregory Sanders
parent 6ab7bcc4eb
commit 66ac3e62e2

View file

@ -119,6 +119,11 @@ OverviewPage::OverviewPage(const PlatformStyle *platformStyle, QWidget *parent)
m_balances.balance[::policyAsset] = -1;
// Move the "Recent Transactions" view below "Balances"
ui->verticalLayout_3->removeWidget(ui->frame_2);
ui->verticalLayout_2->addWidget(ui->frame_2);
ui->horizontalLayout->removeItem(ui->verticalLayout_3);
// use a SingleColorIcon for the "out of sync warning" icon
QIcon icon = platformStyle->SingleColorIcon(":/icons/warning");
icon.addPixmap(icon.pixmap(QSize(64,64), QIcon::Normal), QIcon::Disabled); // also set the disabled icon because we are using a disabled QPushButton to work around missing HiDPI support of QLabel (https://bugreports.qt.io/browse/QTBUG-42503)