Commit 40b864b1 authored by Ahmad Samir's avatar Ahmad Samir

IRCIput: tweak input box size to stop the text jumping around when selected

It looks like the height of the input line edit was a tad too small, when
the text is selected, click and hold the left mouse button and move up and
down, the selected text jumps up and down. Fix the issue by tweaking the
line edit height.
parent da7e7c96
......@@ -80,7 +80,7 @@ QSize IRCInput::sizeHint() const
{
QFontMetrics fm(font());
int h = document()->size().toSize().height() - fm.descent() + 2 * frameWidth();
int h = document()->size().toSize().height();
QStyleOptionFrame opt;
opt.initFrom(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment