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:
@@ -128,6 +128,7 @@ void RiuCvfOverlayItemWidget::updateFromOverlyItem( cvf::OverlayItem * item)
|
|||||||
|
|
||||||
m_overlayItemLabel->setPixmap(pixmap);
|
m_overlayItemLabel->setPixmap(pixmap);
|
||||||
this->setMinimumSize(QSize(width, height));
|
this->setMinimumSize(QSize(width, height));
|
||||||
|
this->resize(QSize(width, height));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user