diff --git a/src/fillediconlabel.cpp b/src/fillediconlabel.cpp index 9b5d9cf..0982cab 100644 --- a/src/fillediconlabel.cpp +++ b/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); diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 4f22232..3fc26f4 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -774,7 +774,7 @@ - Block Height + Block height @@ -788,7 +788,7 @@ - Network Solution Rate + Network solution rate