asd
This commit is contained in:
+8
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user