From e553450c1d40c64aa2d83460b6cf13153eda5f28 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 27 May 2015 15:25:59 +0300 Subject: [PATCH] TextEditor: Improve initial size for code style editor It currently doesn't contain the code it displays. Change-Id: Iae6752d4f6feed3c231dcb4529e16110defb14fc Reviewed-by: Eike Ziller --- src/plugins/texteditor/codestyleselectorwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/texteditor/codestyleselectorwidget.cpp b/src/plugins/texteditor/codestyleselectorwidget.cpp index 6cf09a5ad04..d37674675a7 100644 --- a/src/plugins/texteditor/codestyleselectorwidget.cpp +++ b/src/plugins/texteditor/codestyleselectorwidget.cpp @@ -125,6 +125,7 @@ CodeStyleDialog::CodeStyleDialog(ICodeStylePreferencesFactory *factory, if (editor) layout->addWidget(editor); layout->addWidget(m_buttons); + resize(850, 600); connect(m_lineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotDisplayNameChanged())); connect(m_buttons, SIGNAL(accepted()), this, SLOT(accept()));