diff --git a/src/qt/forms/overviewpage.ui b/src/qt/forms/overviewpage.ui index c7143f36..6573517b 100644 --- a/src/qt/forms/overviewpage.ui +++ b/src/qt/forms/overviewpage.ui @@ -24,120 +24,141 @@ QFrame::Raised - - - QFormLayout::AllNonFixedFieldsGrow - - - 12 - - - 12 - - - - - - 11 - 75 - true - - - - Wallet - - - - - - - - 75 - true - - - - The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. - - - (out of sync) - - - - - - - Balance: - - - - - - - - 75 - true - - - - IBeamCursor - - - Your current balance - - - 123.456 BTC - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - - - - Unconfirmed: - - - - - - - - 75 - true - - - - IBeamCursor - - - Total of transactions that have yet to be confirmed, and do not yet count toward the current balance - - - 0 BTC - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - + + + + + + + + 11 + 75 + true + + + + Wallet + + + + + + + The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. + + + QLabel { color: red; } + + + (out of sync) + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - - - Number of transactions: + + + + QFormLayout::AllNonFixedFieldsGrow - - - - - - Total number of transactions in wallet + + 12 - - 0 + + 12 - + + + + Balance: + + + + + + + + 75 + true + + + + IBeamCursor + + + Your current balance + + + 123.456 BTC + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + Unconfirmed: + + + + + + + + 75 + true + + + + IBeamCursor + + + Total of transactions that have yet to be confirmed, and do not yet count toward the current balance + + + 0 BTC + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + + + + Number of transactions: + + + + + + + Total number of transactions in wallet + + + 0 + + + + @@ -167,52 +188,69 @@ QFrame::Raised - - - - - <b>Recent transactions</b> - - + + + + + + + <b>Recent transactions</b> + + + + + + + The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. + + + QLabel { color: red; } + + + (out of sync) + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - - - - 75 - true - + + + + QListView { background: transparent; } - - The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. + + QFrame::NoFrame - - (out of sync) + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAlwaysOff + + + QAbstractItemView::NoSelection - - - - QListView { background: transparent; } - - - QFrame::NoFrame - - - Qt::ScrollBarAlwaysOff - - - Qt::ScrollBarAlwaysOff - - - QAbstractItemView::NoSelection - - - diff --git a/src/qt/overviewpage.cpp b/src/qt/overviewpage.cpp index e4c74226..d7bcc6f4 100644 --- a/src/qt/overviewpage.cpp +++ b/src/qt/overviewpage.cpp @@ -108,9 +108,7 @@ OverviewPage::OverviewPage(QWidget *parent) : // init "out of sync" warning labels ui->labelWalletStatus->setText("(" + tr("out of sync") + ")"); - ui->labelWalletStatus->setStyleSheet("QLabel { color: red; }"); ui->labelTransactionsStatus->setText("(" + tr("out of sync") + ")"); - ui->labelTransactionsStatus->setStyleSheet("QLabel { color: red; }"); // start with displaying the "out of sync" warnings showOutOfSyncWarning(true);