forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
7b7dddbbc5
commit
e553450c1d
@@ -125,6 +125,7 @@ CodeStyleDialog::CodeStyleDialog(ICodeStylePreferencesFactory *factory,
|
|||||||
if (editor)
|
if (editor)
|
||||||
layout->addWidget(editor);
|
layout->addWidget(editor);
|
||||||
layout->addWidget(m_buttons);
|
layout->addWidget(m_buttons);
|
||||||
|
resize(850, 600);
|
||||||
|
|
||||||
connect(m_lineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotDisplayNameChanged()));
|
connect(m_lineEdit, SIGNAL(textChanged(QString)), this, SLOT(slotDisplayNameChanged()));
|
||||||
connect(m_buttons, SIGNAL(accepted()), this, SLOT(accept()));
|
connect(m_buttons, SIGNAL(accepted()), this, SLOT(accept()));
|
||||||
|
|||||||
Reference in New Issue
Block a user