summaryrefslogtreecommitdiff
path: root/plugingui/textedit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/textedit.cc')
-rw-r--r--plugingui/textedit.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc
index 4e94566..e8661d7 100644
--- a/plugingui/textedit.cc
+++ b/plugingui/textedit.cc
@@ -52,10 +52,10 @@ TextEdit::~TextEdit()
{
}
-void TextEdit::resize(std::size_t height, std::size_t width)
+void TextEdit::resize(std::size_t width, std::size_t height)
{
- Widget::resize(height, width);
- scroll.resize(scroll.width(), height-10);
+ Widget::resize(width, height);
+ scroll.resize(scroll.width(), height-14);
scroll.move(width-30,7);
}