#2848 Add a resize in OverlayItem Widget to tighten the widget to the possibly resized overly item

This commit is contained in:
Jacob Støren 2018-05-03 16:15:31 +02:00
parent 4b6bd3d9fc
commit c400223bc6

View File

@ -128,6 +128,7 @@ void RiuCvfOverlayItemWidget::updateFromOverlyItem( cvf::OverlayItem * item)
m_overlayItemLabel->setPixmap(pixmap);
this->setMinimumSize(QSize(width, height));
this->resize(QSize(width, height));
}