diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-11 22:08:05 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-11 22:08:48 +0200 |
| commit | c52f87e9603321635ae9f2c437bf45d5b202e536 (patch) | |
| tree | 6302a2b5e390fe2b768de3ac4f494416b2aa0520 /src | |
| parent | a34f7a9912780f43bdd74fae075a88bb150df2d0 (diff) | |
Add missing wordwrap for QT form dialog message
Diffstat (limited to 'src')
| -rw-r--r-- | src/gui_qt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 76611e4..0223291 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -1255,6 +1255,7 @@ protected: int row = 0; if (!text_.empty()) { auto text = new QLabel(QString::fromStdString(text_)); + text->setWordWrap(true); layout->addWidget(text, row++, 0, 1, 3); } for (auto& value : values_) { @@ -1796,6 +1797,7 @@ private: dialog_->setWindowTitle(QString::fromStdString(title_)); auto layout = new QVBoxLayout(); auto text = new QLabel(QString::fromStdString(text_)); + text->setWordWrap(true); layout->addWidget(text); layout->addWidget(progress_); dialog_->setLayout(layout); |
