Browse Source

small fixes

import_zecw
Aditya Kulkarni 6 years ago
parent
commit
02e1a2de36
  1. 6
      src/fillediconlabel.cpp
  2. 4
      src/mainwindow.ui

6
src/fillediconlabel.cpp

@ -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);

4
src/mainwindow.ui

@ -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>

Loading…
Cancel
Save