Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI improvements #32

Merged
merged 14 commits into from
Oct 1, 2019
Prev Previous commit
Next Next commit
Overviewpage fix
fix unit to show problem.
  • Loading branch information
rausi authored Sep 11, 2019
commit 4fc902c0741c62b7e12faf321755e643d0af065c
4 changes: 2 additions & 2 deletions src/qt/overviewpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ void OverviewPage::setBalance(const CAmount& balance, const CAmount& unconfirmed
//ui->labelUnconfirmed->setStyleSheet("QLabel {font-size:16pt; color:#dceaed; }");
//ui->labelStaking->setText(BitcoinUnits::formatWithUnit(unit, stakingBalance, false, BitcoinUnits::separatorAlways));
//ui->labelImmature->setText(BitcoinUnits::formatWithUnit(unit, immatureBalance, false, BitcoinUnits::separatorAlways));
//ui->labelTotal->setText(BitcoinUnits::formatWithUnitGreen(unit,balance + unconfirmedBalance + stakingBalance, false, BitcoinUnits::separatorAlways));
ui->labelTotal->setText(BitcoinUnits::format(unit,balance + unconfirmedBalance + stakingBalance, false, BitcoinUnits::separatorAlways));
ui->labelTotal->setText(BitcoinUnits::formatWithUnitGreen(unit,balance + unconfirmedBalance + stakingBalance, false, BitcoinUnits::separatorAlways));
//ui->labelTotal->setText(BitcoinUnits::format(unit,balance + unconfirmedBalance + stakingBalance, false, BitcoinUnits::separatorAlways));
//ui->labelTotal->setStyleSheet("QLabel {font-size:25pt; color:#dceaed; }");

bool showStaking = stakingBalance != 0;
Expand Down
16 changes: 1 addition & 15 deletions src/qt/overviewpage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1016</width>
<width>1022</width>
<height>493</height>
</rect>
</property>
Expand Down Expand Up @@ -338,20 +338,6 @@ font-size:26px;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_9">
<property name="styleSheet">
<string notr="true">font-size:26px;
color:#39df7b;</string>
</property>
<property name="text">
<string>TZC</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
Expand Down