diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-03-28 21:45:20 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-01 16:33:49 +0200 |
commit | 6c0bcd6719d929272057a71e62d72ae7aadeb507 (patch) | |
tree | eab09855c177d35e413342e60f8a1cddba26db64 /plugingui | |
parent | a964610cf2594923e637011a93a1e8e57b2ba571 (diff) |
Fix bug in TextEdit.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/textedit.cc | 6 |
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); } |