fix: missing word wrap in update popup (#5811)

Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
8thony
2025-01-12 11:29:50 +01:00
committed by GitHub
parent b2d91f6336
commit ae964be758
4 changed files with 39 additions and 14 deletions
+4
View File
@@ -27,6 +27,9 @@ public:
bool getHasOffset() const;
void setHasOffset(bool hasOffset);
bool getWordWrap() const;
void setWordWrap(bool wrap);
protected:
void scaleChangedEvent(float scale_) override;
void paintEvent(QPaintEvent *) override;
@@ -43,6 +46,7 @@ private:
QSize preferedSize_;
bool centered_ = false;
bool hasOffset_ = true;
bool wordWrap_ = false;
pajlada::Signals::SignalHolder connections_;
};