#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 committed 2018-05-03 16:15:31 +02:00
1 parent 4b6bd3d9fc
commit c400223bc6
1 file changed
+1
@@ -128,6 +128,7 @@ void RiuCvfOverlayItemWidget::updateFromOverlyItem( cvf::OverlayItem * item)
m_overlayItemLabel->setPixmap(pixmap);
this->setMinimumSize(QSize(width, height));
this->resize(QSize(width, height));
}