mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2657 Better initial position of Ensemble curve color legend. Use preferred size
This commit is contained in:
@@ -33,7 +33,11 @@
|
||||
RiuCvfOverlayItemWidget::RiuCvfOverlayItemWidget(QWidget* parent/*=0*/)
|
||||
: QWidget(parent)
|
||||
{
|
||||
this->setLayout(new QHBoxLayout(this));
|
||||
auto hblayout = new QHBoxLayout(this);
|
||||
hblayout->setMargin(0);
|
||||
hblayout->setSpacing(0);
|
||||
|
||||
this->setLayout(hblayout);
|
||||
m_overlayItemLabel = new QLabel(this);
|
||||
this->layout()->addWidget(m_overlayItemLabel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user