Skip to content
Snippets Groups Projects
Commit 39923f72 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

fixed vertical scrollbar in message widget for the case of a single message...

fixed vertical scrollbar in message widget for the case of a single message that is bigger than the height of the widget
parent 410761f9
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@ MessageWidget::MessageWidget(QWidget* parent) :
view_->setDragEnabled(true);
view_->setContextMenuPolicy(Qt::CustomContextMenu);
view_->setFrameShape(QFrame::NoFrame);
view_->setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
layout->addWidget(view_);
connect(view_, SIGNAL(customContextMenuRequested(const QPoint&)), this,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment