mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
GUI: Move the "Recent Transactions" view below "Balances"
This commit is contained in:
parent
6ab7bcc4eb
commit
66ac3e62e2
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue