TextEditor: Improve initial size for code style editor

It currently doesn't contain the code it displays.

Change-Id: Iae6752d4f6feed3c231dcb4529e16110defb14fc
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-05-27 15:25:59 +03:00
committed by Orgad Shaneh
parent 7b7dddbbc5
commit e553450c1d

View File

@@ -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()));