diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-11-08 16:58:42 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-11-08 16:58:42 +0000 |
| commit | c54d318ae9b4efa57938e29eac7f13ae75e799e5 (patch) | |
| tree | c868f399b40fb0520e16d342acc4a29e81432fd9 /sigmodr/ScriptWidget.cpp | |
| parent | 8bad37e82371bd41864903ac0d6f49808ad119bf (diff) | |
| download | sigen-c54d318ae9b4efa57938e29eac7f13ae75e799e5.tar.gz sigen-c54d318ae9b4efa57938e29eac7f13ae75e799e5.tar.xz sigen-c54d318ae9b4efa57938e29eac7f13ae75e799e5.zip | |
[FIX] Still working on getting the MapEditor to behave
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@309 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmodr/ScriptWidget.cpp')
| -rw-r--r-- | sigmodr/ScriptWidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigmodr/ScriptWidget.cpp b/sigmodr/ScriptWidget.cpp index e687ff60..96cde63b 100644 --- a/sigmodr/ScriptWidget.cpp +++ b/sigmodr/ScriptWidget.cpp @@ -87,6 +87,8 @@ Sigmodr::ScriptWidget::ScriptWidget(QWidget* parent, const Sigcore::Script& valu { KMessageBox::information(this, "A KDE text-editor component could not be found;\nplease check your KDE installation.\n\nEnhanced editing will not be used.", "Enhanced editor not found", "kte-component"); m_simpleEdit = new KTextEdit(m_value.script(), this); + m_simpleEdit->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); + m_simpleEdit->setMinimumHeight(300); layoutScript->addWidget(m_simpleEdit); connect(m_simpleEdit, SIGNAL(textChanged()), this, SLOT(scriptChanged())); return; |
