Add extra spacing to deal with borders so that the input text doesn't "bounce"
[quassel.git] / src / uisupport / inputline.cpp
index 91b4544..a46bed4 100644 (file)
@@ -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);