From 6c0bcd6719d929272057a71e62d72ae7aadeb507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Tue, 28 Mar 2017 21:45:20 +0200 Subject: Fix bug in TextEdit. --- plugingui/textedit.cc | 6 +++--- 1 file 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); } -- cgit v1.2.3