diff --git a/UI/properties-view.cpp b/UI/properties-view.cpp index afe3d650f..f5cd54522 100644 --- a/UI/properties-view.cpp +++ b/UI/properties-view.cpp @@ -239,6 +239,11 @@ QWidget *OBSPropertiesView::AddText(obs_property_t *prop, QFormLayout *layout, if (type == OBS_TEXT_MULTILINE) { QPlainTextEdit *edit = new QPlainTextEdit(QT_UTF8(val)); +#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0) + edit->setTabStopDistance(40); +#else + edit->setTabStopWidth(40); +#endif return NewWidget(prop, edit, SIGNAL(textChanged())); } else if (type == OBS_TEXT_PASSWORD) {