small fixes
This commit is contained in:
parent
5fc905c926
commit
02e1a2de36
|
@ -10,8 +10,10 @@ void FilledIconLabel::setBasePixmap(QPixmap pm) {
|
||||||
basePm = 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();
|
QSize sz = size();
|
||||||
|
|
||||||
QPixmap scaled = basePm.scaled(sz, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
QPixmap scaled = basePm.scaled(sz, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||||
|
|
|
@ -774,7 +774,7 @@
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="label_10">
|
<widget class="QLabel" name="label_10">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Block Height</string>
|
<string>Block height</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -788,7 +788,7 @@
|
||||||
<item row="3" column="0">
|
<item row="3" column="0">
|
||||||
<widget class="QLabel" name="label_12">
|
<widget class="QLabel" name="label_12">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Network Solution Rate</string>
|
<string>Network solution rate</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue