summaryrefslogtreecommitdiff
path: root/src/gui/windows/textcommandeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/textcommandeditor.cpp')
-rw-r--r--src/gui/windows/textcommandeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/textcommandeditor.cpp b/src/gui/windows/textcommandeditor.cpp
index d59868131..8f9fedc51 100644
--- a/src/gui/windows/textcommandeditor.cpp
+++ b/src/gui/windows/textcommandeditor.cpp
@@ -118,7 +118,7 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
keyboard.setEnabled(false);
setWindowName("TextCommandEditor");
- setDefaultSize(w, h, ImagePosition::CENTER);
+ setDefaultSize(w, h, ImagePosition::CENTER, 0, 0);
#ifdef TMWA_SUPPORT
mIsMagic->setActionEventId("magic");
@@ -226,7 +226,7 @@ TextCommandEditor::TextCommandEditor(TextCommand *const command) :
setWidth(w);
setHeight(h);
- reflowLayout(w);
+ reflowLayout(w, 0);
center();
}