mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2848 Add a resize in OverlayItem Widget to tighten the widget to the possibly resized overly item
This commit is contained in:
parent
4b6bd3d9fc
commit
c400223bc6
@ -128,6 +128,7 @@ void RiuCvfOverlayItemWidget::updateFromOverlyItem( cvf::OverlayItem * item)
|
||||
|
||||
m_overlayItemLabel->setPixmap(pixmap);
|
||||
this->setMinimumSize(QSize(width, height));
|
||||
this->resize(QSize(width, height));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user