User Chart Series Errors Wrapping

.. when editing a user chart series program the errors in red at the
   bottom of the dialog get truncated instead of word wrapping.
This commit is contained in:
Mark Liversedge
2020-04-29 20:45:40 +01:00
parent 3ff380ce0f
commit d69fa7986f

View File

@@ -991,6 +991,7 @@ EditUserSeriesDialog::EditUserSeriesDialog(Context *context, bool rangemode, Gen
program->setCompleter(completer);
pl->addWidget(program);
errors = new QLabel(this);
errors->setWordWrap(true);
errors->setStyleSheet("color: red;");
pl->addWidget(errors); //