Mercurial > minori
diff include/gui/widgets/text.h @ 295:b82841e76e79
*: better support on Windows
things now look much better in dark mode
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 20:24:09 -0400 |
parents | 9a88e1725fd2 |
children | 6b0768158dcd |
line wrap: on
line diff
--- a/include/gui/widgets/text.h Sun May 12 18:16:08 2024 -0400 +++ b/include/gui/widgets/text.h Sun May 12 20:24:09 2024 -0400 @@ -34,8 +34,8 @@ QPlainTextEdit* GetLabel(); protected: - QSize minimumSizeHint() const; - QSize sizeHint() const; + bool hasHeightForWidth() const override; + int heightForWidth(int w) const override; private: QPlainTextEdit text_edit;