2015-01-03 02:42:57 -08:00
|
|
|
#include <QResizeEvent>
|
|
|
|
#include "vertical-scroll-area.hpp"
|
|
|
|
|
|
|
|
void VScrollArea::resizeEvent(QResizeEvent *event)
|
|
|
|
{
|
|
|
|
if (!!widget())
|
|
|
|
widget()->setMaximumWidth(event->size().width());
|
2015-01-03 07:26:27 -08:00
|
|
|
|
|
|
|
QScrollArea::resizeEvent(event);
|
2015-01-03 02:42:57 -08:00
|
|
|
}
|