mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
15 lines
263 B
C++
15 lines
263 B
C++
#include "chatwidgetview.h"
|
|
|
|
ChatWidgetView::ChatWidgetView()
|
|
: QWidget(),
|
|
scrollbar(this)
|
|
{
|
|
|
|
}
|
|
|
|
void ChatWidgetView::resizeEvent(QResizeEvent *)
|
|
{
|
|
scrollbar.resize(scrollbar.width(), height());
|
|
scrollbar.move(width() - scrollbar.width(), 0);
|
|
}
|