This commit is contained in:
fourtf
2017-01-03 21:19:33 +01:00
parent 4ccbc8d4e4
commit 2b4fa8071f
22 changed files with 463 additions and 23 deletions
+8 -1
View File
@@ -1,7 +1,14 @@
#include "chatwidgetview.h"
ChatWidgetView::ChatWidgetView()
: QWidget()
: QWidget(),
scrollbar(this)
{
}
void ChatWidgetView::resizeEvent(QResizeEvent *)
{
scrollbar.resize(scrollbar.width(), height());
scrollbar.move(width() - scrollbar.width(), 0);
}