mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
#2848 Add a resize in OverlayItem Widget to tighten the widget to the possibly resized overly item
This commit is contained in:
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));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user