diff --git a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp index ad25fab0f4c..750d7da6ed6 100644 --- a/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp +++ b/src/plugins/qmldesigner/components/texteditor/texteditorwidget.cpp @@ -27,6 +27,10 @@ #include +#include + +#include + #include namespace QmlDesigner { @@ -37,6 +41,8 @@ TextEditorWidget::TextEditorWidget(TextEditorView *textEditorView) : QWidget() { QBoxLayout *layout = new QVBoxLayout(this); layout->setMargin(0); + + setStyleSheet(Theming::replaceCssColors(QString::fromUtf8(Utils::FileReader::fetchQrc(QLatin1String(":/qmldesigner/scrollbar.css"))))); } void TextEditorWidget::setTextEditor(TextEditor::BaseTextEditor *textEditor) {