small fixes

This commit is contained in:
Aditya Kulkarni 2018-11-06 15:17:55 -08:00
parent 5fc905c926
commit 02e1a2de36
2 changed files with 6 additions and 4 deletions

View File

@ -10,8 +10,10 @@ void FilledIconLabel::setBasePixmap(QPixmap pm) {
basePm = pm;
}
void FilledIconLabel::resizeEvent(QResizeEvent*) {
// Top pixmap
/**
* When resized, we re-draw the whole pixmap, resizing it as needed.
*/
void FilledIconLabel::resizeEvent(QResizeEvent*) {
QSize sz = size();
QPixmap scaled = basePm.scaled(sz, Qt::KeepAspectRatio, Qt::SmoothTransformation);

View File

@ -774,7 +774,7 @@
<item row="1" column="0">
<widget class="QLabel" name="label_10">
<property name="text">
<string>Block Height</string>
<string>Block height</string>
</property>
</widget>
</item>
@ -788,7 +788,7 @@
<item row="3" column="0">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Network Solution Rate</string>
<string>Network solution rate</string>
</property>
</widget>
</item>