From: Jesper Thomschütz Date: Sat, 14 Mar 2009 19:23:57 +0000 (+0200) Subject: Add extra spacing to deal with borders so that the input text doesn't "bounce" X-Git-Tag: 0.5-rc1~284 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=e88bc2044ff3815bc62e3a297410c4aafe5880bb;hp=4115350f36dbc123ddea7bfe9e1e198910ea5f3f Add extra spacing to deal with borders so that the input text doesn't "bounce" --- diff --git a/src/uisupport/inputline.cpp b/src/uisupport/inputline.cpp index 91b45440..a46bed45 100644 --- a/src/uisupport/inputline.cpp +++ b/src/uisupport/inputline.cpp @@ -35,7 +35,7 @@ InputLine::InputLine(QWidget *parent) { #ifdef HAVE_KDE //This is done to make the KTextEdit look like a lineedit - setMaximumHeight(document()->size().toSize().height()); + setMaximumHeight(document()->size().toSize().height() + 2); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setAcceptRichText(false); setLineWrapMode(NoWrap);