diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cc9646e9..7fb4f7e57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ - Dev: Add doxygen build target. (#5377) - Dev: Make printing of strings in tests easier. (#5379) - Dev: Refactor and document `Scrollbar`. (#5334, #5393) -- Dev: Reduced the amount of scale events. (#5404) +- Dev: Reduced the amount of scale events. (#5404, #5406) ## 2.5.1 diff --git a/src/widgets/Label.cpp b/src/widgets/Label.cpp index 1d3e7067f..529fb7575 100644 --- a/src/widgets/Label.cpp +++ b/src/widgets/Label.cpp @@ -20,6 +20,7 @@ Label::Label(BaseWidget *parent, QString text, FontStyle style) [this] { this->updateSize(); }); + this->updateSize(); } const QString &Label::getText() const